Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c98f5f6

Browse files
committed
minor fix
1 parent 4150fad commit c98f5f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/request/basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def checkCharEncoding(encoding):
119119
# http://philip.html5.org/data/charsets-2.html
120120
if encoding in translate:
121121
encoding = translate[encoding]
122-
elif encoding in ('null', '{charset}'):
122+
elif encoding in ('null', '{charset}', '*'):
123123
return None
124124

125125
# http://www.iana.org/assignments/character-sets

0 commit comments

Comments
 (0)