FlorianREGAZ / Python-Tls-Client

Advanced HTTP Library
MIT License
629 stars 130 forks source link

How to support streaming response? #82

Open a410202049 opened 11 months ago

a410202049 commented 11 months ago

How to support streaming response?

a410202049 commented 11 months ago

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()

clouedoc commented 9 months ago

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