Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #6063 -- Caught one place in HttpResponse that was not returnin…

…g a str

type (violation of WSGI spec). Thanks,

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 01ca12277401d5bc0b42d67cd6bf2292f7e1ec95 1 parent 86c4170
@malcolmt malcolmt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/http/
2  django/http/
@@ -331,7 +331,7 @@ def next(self):
chunk =
if isinstance(chunk, unicode):
chunk = chunk.encode(self._charset)
- return chunk
+ return str(chunk)
def close(self):
if hasattr(self._container, 'close'):
Please sign in to comment.
Something went wrong with that request. Please try again.