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 e86a0683..7f24f4ab 100644 --- a/src/utils/http.py +++ b/src/utils/http.py @@ -227,7 +227,7 @@ def request_many(urls: typing.List[str]) -> typing.Dict[str, Response]: headers = utils.CaseInsensitiveDict(dict(response.headers)) data = response.body.decode("utf8") - responses[url] = Response(response.code, data, headers) + responses[url] = Response(response.code, data, headers, "utf8") loop = asyncio.new_event_loop() awaits = [] |
