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

Skip default headers from AIOHttpConnection #1604

Merged
merged 1 commit into from
Jun 4, 2021

Conversation

sethmlarson
Copy link
Contributor

@sethmlarson sethmlarson commented Jun 4, 2021

Basically aiohttp adds Accept: */* and Accept-Encoding: gzip, deflate to requests if you don't explicitly opt-out, so opt out of all the automatic headers and setup an E2E test case for all of our HTTP connection classes so we can catch when these automatically added headers slip in.

Closes #1601

@sethmlarson sethmlarson force-pushed the aiohttp-auto-accept-encoding branch from 3b2d8c6 to 7155544 Compare June 4, 2021 18:41
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.

AIOHttpConnection - http_compress does not change Accept-Encoding header
1 participant