Merge pull request #516 from timgates42/bugfix_typos

docs: Fix a few typos
This commit is contained in:
surister
2023-02-26 14:17:24 +01:00
committed by GitHub
+1 -1
View File
@@ -771,7 +771,7 @@ class BaseSession(requests.Session):
def response_hook(self, response, **kwargs) -> HTMLResponse:
""" Change response enconding and replace it by a HTMLResponse. """
""" Change response encoding and replace it by a HTMLResponse. """
if not response.encoding:
response.encoding = DEFAULT_ENCODING
return HTMLResponse._from_response(response, self)