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

Relax httpPrefixHeaders constraint #2565

Merged
merged 1 commit into from
Mar 27, 2025
Merged

Conversation

kstich
Copy link
Contributor

@kstich kstich commented Mar 19, 2025

This commit relaxes the constraint on the @httpPrefixHeaders trait when the prefix is set to an empty string, lowering the validation's severity to a NOTE. This case is usualy meant for proxying all headers through a request or response, where conflicts are well understood.

This change comes with updated guidance to simplify the strategy for serializing HTTP messages, examples for these use cases, guidance on how to do this in a readable way, and other minor HTTP binding specification cleanup.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@kstich kstich requested a review from mtdowling March 19, 2025 05:25
@kstich kstich requested a review from a team as a code owner March 19, 2025 05:25
@kstich kstich force-pushed the http_prefix_headers_constraint branch from 2b3567e to 7eb81a5 Compare March 25, 2025 22:16
@kstich kstich force-pushed the http_prefix_headers_constraint branch from 7eb81a5 to 18ee88b Compare March 26, 2025 21:31
This commit relaxes the constraint on the `@httpPrefixHeaders` trait
when the prefix is set to an empty string, lowering the validation's
severity to a NOTE. This case is usualy meant for proxying all headers
through a request or response, where conflicts are well understood.

This change comes with updated guidance to simplify the strategy for
serializing HTTP messages, examples for these use cases, guidance on
how to do this in a readable way, and other minor HTTP binding
specification cleanup.
@kstich kstich force-pushed the http_prefix_headers_constraint branch from 18ee88b to a511008 Compare March 26, 2025 21:33
@kstich kstich merged commit 6fce8ea into main Mar 27, 2025
8 checks passed
@kstich kstich deleted the http_prefix_headers_constraint branch March 27, 2025 18:11
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.

2 participants