Initialise StreamingHTTPResponse.protocol = None
This commit is contained in:
parent
60b4efad67
commit
da26adfc73
|
@ -91,6 +91,7 @@ class StreamingHTTPResponse(BaseHTTPResponse):
|
|||
self.headers = Header(headers or {})
|
||||
self.chunked = chunked
|
||||
self._cookies = None
|
||||
self.protocol = None
|
||||
|
||||
async def write(self, data):
|
||||
"""Writes a chunk of data to the streaming response.
|
||||
|
|
Loading…
Reference in New Issue
Block a user