Merge pull request #576 from matuusu/master
fix http status code not propagating in response
This commit is contained in:
commit
df9884de3c
|
@ -331,7 +331,7 @@ def stream(
|
|||
:param headers: Custom Headers.
|
||||
"""
|
||||
return StreamingHTTPResponse(
|
||||
streaming_fn, headers=headers, content_type=content_type, status=200)
|
||||
streaming_fn, headers=headers, content_type=content_type, status=status)
|
||||
|
||||
|
||||
def redirect(to, headers=None, status=302,
|
||||
|
|
Loading…
Reference in New Issue
Block a user