attempt to fix issue 981

This commit is contained in:
mdipierro
2012-10-01 21:11:45 -05:00
parent 606daabdd3
commit f79660dd2a
3 changed files with 31 additions and 26 deletions
+2 -1
View File
@@ -329,7 +329,8 @@ class Response(Storage):
stream_file_or_304_or_206(stream,
chunk_size=chunk_size,
request=request,
headers=headers)
headers=headers,
status=self.status)
# ## the following is for backward compatibility
if hasattr(stream, 'name'):