From 2fa433ed5545c1dc7a140bd4c3b59b82ff69006b Mon Sep 17 00:00:00 2001 From: Paul McMillan Date: Wed, 14 Sep 2011 23:58:12 +0000 Subject: [PATCH] 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 --- django/http/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/http/__init__.py b/django/http/__init__.py index 913c7eb704..c6bf2f174f 100644 --- a/django/http/__init__.py +++ b/django/http/__init__.py @@ -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