summaryrefslogtreecommitdiff
path: root/django/http
diff options
context:
space:
mode:
Diffstat (limited to 'django/http')
-rw-r--r--django/http/response.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/http/response.py b/django/http/response.py
index aaebefe022..822589fe81 100644
--- a/django/http/response.py
+++ b/django/http/response.py
@@ -317,7 +317,7 @@ class HttpResponse(HttpResponseBase):
streaming = False
- def __init__(self, content='', *args, **kwargs):
+ def __init__(self, content=b'', *args, **kwargs):
super(HttpResponse, self).__init__(*args, **kwargs)
# Content is a bytestring. See the `content` property methods.
self.content = content