Did the small changes for better readable
This commit is contained in:
parent
eb06e6ba51
commit
429f7377cb
|
@ -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