diff options
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 c19f8c0f..6fbb64de 100644 --- a/src/utils/http.py +++ b/src/utils/http.py @@ -58,7 +58,7 @@ def request(url: str, method: str="GET", get_params: dict={}, finally: signal.signal(signal.SIGALRM, signal.SIG_IGN) - response_headers = utils.CaseInsensitiveDict(response.headers) + response_headers = utils.CaseInsensitiveDict(dict(response.headers)) if soup: soup = bs4.BeautifulSoup(response_content, parser) |
