Add strip_header to delete headers on the frontend#690
Merged
b1tamara merged 1 commit intocloudfoundry:masterfrom Jul 22, 2024
Merged
Add strip_header to delete headers on the frontend#690b1tamara merged 1 commit intocloudfoundry:masterfrom
b1tamara merged 1 commit intocloudfoundry:masterfrom
Conversation
b1tamara
reviewed
Jul 22, 2024
1de3425 to
69fd004
Compare
Implement config property strip_headers, which allows to delete configured headers from incoming requests based on the header key. If both 'strip_headers' and 'headers' contain the same key, the header (if set) is first deleted from the request, and then set to the configured value.
69fd004 to
823f33a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implement config property strip_headers, which allows to delete configured headers from incoming requests based on the header key.
If both 'strip_headers' and 'headers' contain the same key, the header (if set) is first deleted from the request, and then set to the configured value.