Skip to content

GH Issue 1651: Let proxies assert authoritative request headers - #8221

Merged
XingY merged 2 commits into
developfrom
fb_issue1651
Oct 23, 2026
Merged

XingY merged 2 commits into
developfrom
fb_issue1651

Conversation

@XingY

@XingY XingY commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Rationale

Adds a supported way for a proxy caller to assert request headers on the outbound proxied request, so the proxy sets them itself rather than forwarding whatever arrived with the request. The mechanism now lives in one place instead of each caller arranging it.

Related Pull Requests

Changes

  • Proxy servlet applies caller-asserted headers authoritatively to the forwarded request, replacing any copy that came in with it.
  • Header names are matched without regard to case.
  • Unit test coverage for the new behavior.

@XingY XingY changed the title GH Issue 1651: assert header GH Issue 1651: Let proxies assert authoritative request headers Oct 23, 2026
@XingY
XingY requested a review from labkey-matthewb October 23, 2026 19:52
@XingY
XingY merged commit 7d2cdb6 into develop Oct 23, 2026
9 checks passed
@XingY
XingY deleted the fb_issue1651 branch October 23, 2026 21:42
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