Loading django/http/__init__.py +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
django/http/__init__.py +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading