1
0
mirror of https://github.com/django/django.git synced 2024-12-25 18:46:22 +00:00

Negligible spacing fixes to comments in django/http/__init__.py

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17221 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2011-12-17 02:40:35 +00:00
parent 81bf5e3950
commit bfb4ed1425

View File

@ -562,8 +562,8 @@ class HttpResponse(object):
# value. Both the name of the header and its value are ASCII strings. # value. Both the name of the header and its value are ASCII strings.
self._headers = {} self._headers = {}
self._charset = settings.DEFAULT_CHARSET self._charset = settings.DEFAULT_CHARSET
if mimetype: if mimetype: # For backwards compatibility.
content_type = mimetype # For backwards compatibility content_type = mimetype
if not content_type: if not content_type:
content_type = "%s; charset=%s" % (settings.DEFAULT_CONTENT_TYPE, content_type = "%s; charset=%s" % (settings.DEFAULT_CONTENT_TYPE,
self._charset) self._charset)