Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preserve ordering of gathered headers #4

Open
ssokolow opened this issue Jul 16, 2016 · 1 comment
Open

Preserve ordering of gathered headers #4

ssokolow opened this issue Jul 16, 2016 · 1 comment

Comments

@ssokolow
Copy link
Owner

Websites may try to use the order in which headers are sent over the wire to distinguish real browsers from bots.

I'll want to switch from using dicts to using OrderedDicts and add some tests to ensure order is preserved all the way through the system.

@ssokolow
Copy link
Owner Author

I'll also need some way to retrieve the ordering of all headers (including those filtered out for being unsafe to blindly mimic) so it can be preserved when merging in things like Referer and the defaults from libraries like python-requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant