From c98f5f6f9403416ba4ac5c868f12c982fff5cb4f Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 15 Dec 2011 09:28:58 +0000 Subject: [PATCH] minor fix --- lib/request/basic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/request/basic.py b/lib/request/basic.py index 2506c5d50..1a7b870df 100644 --- a/lib/request/basic.py +++ b/lib/request/basic.py @@ -119,7 +119,7 @@ def checkCharEncoding(encoding): # http://philip.html5.org/data/charsets-2.html if encoding in translate: encoding = translate[encoding] - elif encoding in ('null', '{charset}'): + elif encoding in ('null', '{charset}', '*'): return None # http://www.iana.org/assignments/character-sets