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:
parent
81bf5e3950
commit
bfb4ed1425
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue