1
0
mirror of https://github.com/django/django.git synced 2025-10-25 06:36:07 +00:00

Fixed #16584 -- Fixed a bunch of typos in code comments. Thanks, Bernhard Essl.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16598 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jannis Leidel
2011-08-12 14:14:15 +00:00
parent 4a993fab18
commit bce890ace4
28 changed files with 35 additions and 35 deletions

View File

@@ -22,7 +22,7 @@ class GZipMiddleware(object):
if response.has_header('Content-Encoding'):
return response
# MSIE have issues with gzipped respones of various content types.
# MSIE have issues with gzipped response of various content types.
if "msie" in request.META.get('HTTP_USER_AGENT', '').lower():
ctype = response.get('Content-Type', '').lower()
if not ctype.startswith("text/") or "javascript" in ctype: