Skip to content

Commit ee0d06a

Browse files
archturArktur
andauthored
Interpret http-get feedback as utf-8 (#496)
Co-authored-by: Arktur <arktur@mailbox.org>
1 parent a1ff862 commit ee0d06a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/inputstreamhelper/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def http_get(url):
7070
content = req.read()
7171
# NOTE: Do not log reponse (as could be large)
7272
# log(0, 'Response: {response}', response=content)
73-
return content.decode()
73+
return content.decode("utf-8")
7474

7575

7676
def http_head(url):

0 commit comments

Comments
 (0)