Merge pull request #870 from MichaelYusko/small-amendment
Did the small changes for better readable
This commit is contained in:
commit
7b66a56cad
|
@ -109,8 +109,9 @@ class BaseHTTPResponse:
|
||||||
|
|
||||||
class StreamingHTTPResponse(BaseHTTPResponse):
|
class StreamingHTTPResponse(BaseHTTPResponse):
|
||||||
__slots__ = (
|
__slots__ = (
|
||||||
'transport', 'streaming_fn',
|
'transport', 'streaming_fn', 'status',
|
||||||
'status', 'content_type', 'headers', '_cookies')
|
'content_type', 'headers', '_cookies'
|
||||||
|
)
|
||||||
|
|
||||||
def __init__(self, streaming_fn, status=200, headers=None,
|
def __init__(self, streaming_fn, status=200, headers=None,
|
||||||
content_type='text/plain'):
|
content_type='text/plain'):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user