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): 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'):