httpx.Response.stream does not detect inital EOF #3415
|
Version: 0.26.0
Full snippet: My output: As you can see, the httpx stream was waiting for nothing. |
Answered by
lovelydinosaur
Nov 26, 2024
Replies: 1 comment 3 replies
|
You're using Tho yes, there's some possible tighter API constraints we could put in place there. 🤔 |
3 replies
Answer selected by
D1-3105
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You're using
client.post(...)so the entire response has already been streamed and is available inresponse.content.Use
with client.stream(...) as responsefor streaming responses.Tho yes, there's some possible tighter API constraints we could put in place there. 🤔