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
1 changed files with 7 additions and 7 deletions

View File

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