aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/utils/http.py2
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)