summaryrefslogtreecommitdiff
path: root/django/middleware/gzip.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #10630 -- Be even more conservative in GZipMiddleware for IE.Malcolm Tredinnick2009-04-121-3/+2
| | | | | | Patch from sebastien_noack. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10541 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #6480 -- Added application/pdf the list of content types we don't ↵Malcolm Tredinnick2008-02-041-6/+6
| | | | | | compress when sending to Internet Explorer. Thanks, Bastien Kleineidam. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7080 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Made some stylistic changes in `GZipMiddleware` and added some notes about ↵Gary Wilson Jr2007-11-191-7/+11
| | | | | | IE, refs #5313. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6697 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #5313 -- Only avoid compressing Javascript when the user agent says ↵Malcolm Tredinnick2007-10-201-3/+4
| | | | | | it's Internet Explorer. Thanks, mgiger@earthbrowser.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6538 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Added more dict-like methods to HttpResponse as part of the response.headers ↵Jacob Kaplan-Moss2007-09-141-1/+1
| | | | | | -> response._headers move, and fixed a few direct uses of response.headers in Django itself. Thanks to PhiR for tracking down and slaying these bugs. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6235 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #4946 -- Added some small improvements to Gzip middleware. Thanks, ↵Malcolm Tredinnick2007-08-121-0/+5
| | | | | | colin@owlfish.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5875 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #3052: GZIP middleware now correctly reports Content-Length. Thanks, ↵Jacob Kaplan-Moss2006-11-221-0/+1
| | | | | | simonbun. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4089 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #2449 -- gzip middleware no longer gzips Javascript. Thanks for the ↵Jacob Kaplan-Moss2006-07-311-1/+5
| | | | | | prob, ubernostrum git-svn-id: http://code.djangoproject.com/svn/django/trunk@3503 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #2109 -- Convert old-style classes to new-style classes throughout ↵Adrian Holovaty2006-06-081-1/+1
| | | | | | Django. Thanks, Nicola Larosa git-svn-id: http://code.djangoproject.com/svn/django/trunk@3113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #580 -- Added mega support for generating Vary headers, including some ↵Adrian Holovaty2005-10-091-0/+24
view decorators, and changed the CacheMiddleware to account for the Vary header. Also added GZipMiddleware and ConditionalGetMiddleware, which are no longer handled by CacheMiddleware itself. Also updated the cache.txt and middleware.txt docs. Thanks to Hugo and Sune for the excellent patches git-svn-id: http://code.djangoproject.com/svn/django/trunk@810 bcc190cf-cafb-0310-a4f2-bffc1f526a37