Skip to content

feat(python): send passed headers in the order of the dict - #651

Open
barjin wants to merge 2 commits into
masterfrom
feat/python-header-order
Open

barjin wants to merge 2 commits into
masterfrom
feat/python-header-order

Conversation

@barjin

@barjin barjin commented Dec 4, 2026

Copy link
Copy Markdown
Member

Headers are now read into an IndexMap instead of a HashMap, so they keep the passed dict's order like in httpx instead of being shuffled on every request (closes #647).

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(py) Headers passed with a request are sent in a random order

1 participant