Did the small changes for better readable

This commit is contained in:
MichaelYusko 2017-07-26 19:32:23 +03:00
parent eb06e6ba51
commit 429f7377cb

View File

@ -109,8 +109,9 @@ class BaseHTTPResponse:
class StreamingHTTPResponse(BaseHTTPResponse):
__slots__ = (
'transport', 'streaming_fn',
'status', 'content_type', 'headers', '_cookies')
'transport', 'streaming_fn', 'status',
'content_type', 'headers', '_cookies'
)
def __init__(self, streaming_fn, status=200, headers=None,
content_type='text/plain'):