Changeset 60:4c4beb4c5347

Show
Ignore:
Timestamp:
01/10/07 10:19:00 (2 years ago)
Author:
Allan Saddi <allan@saddi.com>
branch:
default
convert_revision:
svn:46762da8-4eb7-0310-94e9-d918b60927c8/flup/trunk@2307
Message:

Support gzip compression of XHTML pages using the
correct MIME type.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ChangeLog

    r59 r60  
     12007-01-10  Allan Saddi  <allan@saddi.com> 
     2 
     3        * Support gzip compression of XHTML pages using the 
     4          correct MIME type. 
     5 
    162006-12-29  Allan Saddi  <allan@saddi.com> 
    27 
  • flup/middleware/gzip.py

    r54 r60  
    221221        """ 
    222222        if mime_types is None: 
    223             mime_types = ['text/.*'] 
     223            mime_types = ['text/', r'''application/(?:.+\+)?xml$'''] 
    224224 
    225225        self._application = application