1 diff -urN Zope-2.7.2-0/lib/python/ZPublisher/HTTPResponse.py Zope-2.7.2-0_chng/lib/python/ZPublisher/HTTPResponse.py
2 --- Zope-2.7.2-0/lib/python/ZPublisher/HTTPResponse.py 2004-04-26 12:11:23.000000000 +0200
3 +++ Zope-2.7.2-0_chng/lib/python/ZPublisher/HTTPResponse.py 2004-09-27 21:08:10.564203240 +0200
5 return self.use_HTTP_content_compression
7 def _encode_unicode(self,body,
8 - charset_re=re.compile(r'text/[0-9a-z]+\s*;\s*' +
9 + charset_re=re.compile(r'(?:application|text)/[0-9a-z+-]+\s*;\s*' +
10 r'charset=([-_0-9a-z]+' +