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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user