diff options
author | pjenvey <devnull@localhost> | 2006-09-06 08:31:41 +0000 |
---|---|---|
committer | pjenvey <devnull@localhost> | 2006-09-06 08:31:41 +0000 |
commit | 8f428bc62e8a2715662fe2cb7c604015a4ecb9d2 (patch) | |
tree | 5ec0a4ca66dd9002ed1ae633f7ead0d48d74a5c9 /paste/wsgiwrappers.py | |
parent | 828bfff4cdb051a35e47b256af0ac5a18ad8ddc8 (diff) | |
download | paste-8f428bc62e8a2715662fe2cb7c604015a4ecb9d2.tar.gz |
do a case insensitive match when determining WSGIResponse's charset
Diffstat (limited to 'paste/wsgiwrappers.py')
-rw-r--r-- | paste/wsgiwrappers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/wsgiwrappers.py b/paste/wsgiwrappers.py index 666edf3..aab5415 100644 --- a/paste/wsgiwrappers.py +++ b/paste/wsgiwrappers.py @@ -128,7 +128,7 @@ class WSGIRequest(object): return get_cookie_dict(self.environ) cookies = property(cookies, doc=cookies.__doc__) -_CHARSET_RE = re.compile(r'.*;\s*charset=(.*?)(;|$)') +_CHARSET_RE = re.compile(r'.*;\s*charset=(.*?)(;|$)', re.I) class WSGIResponse(object): """ A basic HTTP response, with content and dictionary-accessed headers |