Changeset 982
- Timestamp:
- 02/28/06 08:34:47
- Files:
-
- trunk/cherrypy/filters/gzipfilter.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/filters/gzipfilter.py
r946 r982 43 43 44 44 ct = response.headers.get('Content-Type').split(';')[0] 45 ct = ct in cherrypy.config.get('gzip_filter.mime_types', ['text/html' ])45 ct = ct in cherrypy.config.get('gzip_filter.mime_types', ['text/html', 'text/plain']) 46 46 for coding in acceptable: 47 47 if coding.value == 'identity' and coding.qvalue != 0: … … 52 52 if ct: 53 53 zipit() 54 return54 return 55 55 cherrypy.HTTPError(406, "identity, gzip").set_response() 56 56

