mirror of
https://github.com/django/django.git
synced 2025-10-27 07:36:08 +00:00
Fixed #2560 -- Add close() support to HttpResponse iterators. Thanks, Ivan
Sagalaev. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3791 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -163,4 +163,4 @@ class WSGIHandler(BaseHandler):
|
||||
for c in response.cookies.values():
|
||||
response_headers.append(('Set-Cookie', c.output(header='')))
|
||||
start_response(status, response_headers)
|
||||
return response.iterator
|
||||
return response
|
||||
|
||||
Reference in New Issue
Block a user