attempt to fix issue 981
This commit is contained in:
+2
-1
@@ -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'):
|
||||
|
||||
Reference in New Issue
Block a user