diff options
| author | 2018-12-11 22:31:14 +0000 | |
|---|---|---|
| committer | 2018-12-11 22:31:14 +0000 | |
| commit | 2d3bb2b5e8c5d8af710e1542d09278e94c9c835f (patch) | |
| tree | ea2e2c6c93e684fbe8f07356dc34a4dcb3653b17 /src/utils/http.py | |
| parent | Pass a `dict` to utils.CaseInsensitiveDict, not a MutableMapping (diff) | |
| signature | ||
Typo in utils.http.request, 'response_heders' -> 'response_headers'
Diffstat (limited to 'src/utils/http.py')
| -rw-r--r-- | src/utils/http.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/http.py b/src/utils/http.py index 6fbb64de..edc09f04 100644 --- a/src/utils/http.py +++ b/src/utils/http.py @@ -62,7 +62,7 @@ def request(url: str, method: str="GET", get_params: dict={}, if soup: soup = bs4.BeautifulSoup(response_content, parser) - return Response(response.status_code, soup, response_heders) + return Response(response.status_code, soup, response_headers) data = response_content.decode(response.encoding or fallback_encoding) if json and data: |
