mirror of
https://github.com/kennethreitz/requests-html.git
synced 2026-06-05 23:00:20 +00:00
Merge pull request #516 from timgates42/bugfix_typos
docs: Fix a few typos
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user