Skip to content

httpx.Response.stream does not detect inital EOF #3415

Closed Answered by tomchristie
D1-3105 asked this question in Potential Issue
Discussion options

You must be logged in to vote

You're using client.post(...) so the entire response has already been streamed and is available in response.content.
Use with client.stream(...) as response for streaming responses.

Tho yes, there's some possible tighter API constraints we could put in place there. 🤔

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@D1-3105
Comment options

@tomchristie
Comment options

@D1-3105
Comment options

Answer selected by D1-3105
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants