Add stream=True #45
This commit is contained in:
parent
4f7605c0b3
commit
5f7937dc1e
15 changed files with 29 additions and 394 deletions
|
|
@ -204,7 +204,8 @@ class _XHR_PollingTransport(_AbstractTransport):
|
|||
self._http_session.get,
|
||||
self._url,
|
||||
params=self._params,
|
||||
timeout=TIMEOUT_IN_SECONDS)
|
||||
timeout=TIMEOUT_IN_SECONDS,
|
||||
stream=True)
|
||||
response_text = response.text
|
||||
if not response_text.startswith(BOUNDARY):
|
||||
yield response_text
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue