Kaydet (Commit) 2fa433ed authored tarafından Paul McMillan's avatar Paul McMillan

Slight cleanup to r16829, thanks Alex Gaynor for the note.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@16830 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst 50255e33
......@@ -544,7 +544,7 @@ class HttpResponse(object):
if not content_type:
content_type = "%s; charset=%s" % (settings.DEFAULT_CONTENT_TYPE,
self._charset)
HttpResponse._set_content(self, content)
self.content = content
self.cookies = SimpleCookie()
if status:
self.status_code = status
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment