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

envoyconfig: preserve case of HTTP headers when using HTTP/1 #3956

Merged
merged 1 commit into from Feb 10, 2023

Conversation

calebdoxsey
Copy link
Contributor

Summary

By default envoy rewrites all HTTP headers to lowercase. According to the spec HTTP headers are supposed to be case-insensitive. Unfortunately some applications don't handle this properly. This change makes it so that when using HTTP/1, the case of headers will be preserved to upstream applications.

Related issues

Checklist

  • reference any related issues
  • updated unit tests
  • add appropriate tag (improvement / bug / etc)
  • ready for review

@calebdoxsey calebdoxsey added the enhancement New feature or request label Feb 10, 2023
@calebdoxsey calebdoxsey requested a review from a team as a code owner February 10, 2023 20:42
@coveralls
Copy link

Coverage Status

Coverage: 63.304% (+0.05%) from 63.258% when pulling e8ad033 on cdoxsey/preserve-case into f2adead on main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants