Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/django/middleware/gzip.py
Commit message (Collapse)AuthorAgeFilesLines
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-1/+1
|
* Fixed #17552 -- Removed a hack for IE6 and earlier.Aymeric Augustin2014-06-101-7/+1
| | | | | | | It prevented the GZipMiddleware from compressing some data types even on more recent version of IE where the corresponding bug was fixed. Thanks Aaron Cannon for the report and Tim Graham for the review.
* More attacking E302 violatorsAlex Gaynor2013-11-021-0/+1
|
* Fixed #7581 -- Added streaming responses.Aymeric Augustin2012-10-201-9/+15
| | | | Thanks mrmachine and everyone else involved on this long-standing ticket.
* Fixed #16035 -- Appended the Etag response header if the ↵Jannis Leidel2012-02-091-0/+3
| | | | | | GZipMiddleware is in use to follow RFC2616 better. Thanks, ext and dracos2. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17471 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #10762, #17514 -- Prevented the GZip middleware ↵Aymeric Augustin2012-01-091-3/+8
| | | | | | from returning a response longer than the original content, allowed compression of non-200 responses, and added tests (there were none). Thanks cannona for the initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17365 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #16584 -- Fixed a bunch of typos in code comments. ↵Jannis Leidel2011-08-121-1/+1
| | | | | | Thanks, Bernhard Essl. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16598 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #10630 -- Be even more conservative in ↵Malcolm Tredinnick2009-04-121-3/+2
| | | | | | | | GZipMiddleware for IE. 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 ↵Malcolm Tredinnick2008-02-041-6/+6
| | | | | | types we don't 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 ↵Gary Wilson Jr2007-11-191-7/+11
| | | | | | added some notes about 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 ↵Malcolm Tredinnick2007-10-201-3/+4
| | | | | | the user agent says 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 ↵Jacob Kaplan-Moss2007-09-151-1/+1
| | | | | | the response.headers -> 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 ↵Malcolm Tredinnick2007-08-121-0/+5
| | | | | | middleware. Thanks, 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 ↵Jacob Kaplan-Moss2006-11-221-0/+1
| | | | | | Content-Length. Thanks, simonbun. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4089 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #2449 -- gzip middleware no longer gzips ↵Jacob Kaplan-Moss2006-07-311-1/+5
| | | | | | Javascript. Thanks for the 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 ↵Adrian Holovaty2006-06-081-1/+1
| | | | | | classes throughout 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 ↵Adrian Holovaty2005-10-091-0/+24
headers, including some 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