Open a410202049 opened 11 months ago
How to support streaming response?
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()
https://github.com/golang/go/issues/33714
How to support streaming response?