bump version to 3.0.4

This commit is contained in:
debugtalk
2020-05-19 14:26:46 +08:00
parent 405e20ca90
commit aa8a21577e
6 changed files with 7 additions and 12 deletions

View File

@@ -195,10 +195,6 @@ class HttpSession(requests.Session):
Safe mode has been removed from requests 1.x.
"""
try:
msg = "processed request:\n"
msg += f"> {method} {url}\n"
msg += f"> kwargs: {kwargs}"
logger.debug(msg)
return requests.Session.request(self, method, url, **kwargs)
except (MissingSchema, InvalidSchema, InvalidURL):
raise