Merge pull request #870 from MichaelYusko/small-amendment

Did the small changes for better readable
This commit is contained in:
Raphael Deem
2017-08-03 18:39:26 -07:00
committed by GitHub

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