Python-Tls-Client icon indicating copy to clipboard operation
Python-Tls-Client copied to clipboard

How to support streaming response?

Open a410202049 opened this issue 2 years ago • 2 comments

How to support streaming response?

a410202049 avatar Jul 26 '23 09:07 a410202049

Similar to this:

import requests

response = requests.get("http://127.0.0.1:8080/stream", stream=True) for chunk in response.iter_content(chunk_size=1024): print(chunk) response.close()

a410202049 avatar Jul 27 '23 10:07 a410202049

https://github.com/golang/go/issues/33714

clouedoc avatar Oct 06 '23 11:10 clouedoc