Skip to content

content-length header missing when using httpx, present when using curl #1906

Discussion options

You must be logged in to vote

Turns out I have to set headers={"Accept-Encoding": "identity"} on the request or the server will not send that header.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mjuopperi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant