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

HTTP headers containing "http" are mangled #35

Closed
ds10x opened this issue Dec 19, 2020 · 0 comments · Fixed by #36
Closed

HTTP headers containing "http" are mangled #35

ds10x opened this issue Dec 19, 2020 · 0 comments · Fixed by #36

Comments

@ds10x
Copy link
Contributor

ds10x commented Dec 19, 2020

new_header = header.rpartition('HTTP_')[2]

I was trying to proxy third-party software that sent a header named "x-http-method", and it got changed to "method".

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 a pull request may close this issue.

1 participant