Skip to content

HTTPS clone URL

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, janusz.harkot@gmail.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6895 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 01ca12277401d5bc0b42d67cd6bf2292f7e1ec95 1 parent 86c4170
Malcolm Tredinnick malcolmt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/http/__init__.py
2  django/http/__init__.py
View
@@ -331,7 +331,7 @@ def next(self):
chunk = self._iterator.next()
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.