Skip to content

Add the ability to strip certain response headers #603

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

intirix
Copy link

@intirix intirix commented May 9, 2025

This PR adds the ability to strip certain headers from the http response before giving it back to the client. This can also be useful in the scenario where you want to remove HTTP1.1 headers when the client makes an HTTP2 request to the ALB. The LWA makes an HTTP1.1 call to the process, so the server might send back headers like Connection. The LWA gives that back to the ALB which gives Connection back to the client, but the client might reject the response since you aren't supposed to send the Connection header back for HTTP2 requests.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@intirix intirix requested a review from a team as a code owner May 9, 2025 11:38
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.

1 participant