mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-08 13:49:15 -05:00
[GH-ISSUE #2789] Custom headers not applied / working #2241
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Root-Core on GitHub (Apr 4, 2026).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/2789
Describe the Bug
Custom headers on public resources are not applied or working in Pangolin 1.17.0.
I think it was working on 1.16.x, not sure though.
Environment
To Reproduce
Access-Control-Allow-Origin: *curl -X HEAD -I https://example.com/Expected Behavior
The custom header is expected to be present in the response.
@oschwartz10612 commented on GitHub (Apr 5, 2026):
Hello! Headers are sent to the downstream target in the request and not in the response to the user. You should see the header if you use something like the traefik whoami container that will show you the request headers. If that is broken please reopen and LMK!
@Root-Core commented on GitHub (Apr 5, 2026):
@oschwartz10612 My bad, I misunderstood the setting. The initial feature request also asked for response headers, did you omit this by purpose?
I think Traefik supports both kinds of header (
customRequestHeaders/customResponseHeaders).CC #1446
CC #1449
CC https://github.com/orgs/fosrl/discussions/455
There is also a newer feature request: https://github.com/orgs/fosrl/discussions/1939
@oschwartz10612 commented on GitHub (Apr 6, 2026):
I agree I think we should implement!