Merge branch 'typing-fix' into ctrlc-windows

This commit is contained in:
L. Kärkkäinen 2020-03-20 17:42:50 +02:00
commit 23561658e5

View File

@ -91,6 +91,7 @@ class StreamingHTTPResponse(BaseHTTPResponse):
self.headers = Header(headers or {}) self.headers = Header(headers or {})
self.chunked = chunked self.chunked = chunked
self._cookies = None self._cookies = None
self.protocol = None
async def write(self, data): async def write(self, data):
"""Writes a chunk of data to the streaming response. """Writes a chunk of data to the streaming response.