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

refact: unify get headers approach from a decision #628

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

regeda
Copy link
Contributor

@regeda regeda commented Jan 2, 2025

Both headers and response_headers_to_add attributes returned by the same function.

Remove intermediate http.Header transformation between decision output and Envoy headers.

@regeda regeda force-pushed the unify-get-headers-func branch 3 times, most recently from 1d5f0ae to e45b16a Compare January 6, 2025 13:45
@srenatus srenatus requested a review from tjons January 6, 2025 14:17
@regeda regeda force-pushed the unify-get-headers-func branch 5 times, most recently from ea1412f to 35b72c0 Compare January 7, 2025 20:54
srenatus
srenatus previously approved these changes Jan 8, 2025
envoyauth/response.go Outdated Show resolved Hide resolved
Both `headers` and `response_headers_to_add` attributes returned by the
same function.

Remove intermediate http.Header transformation between decision output
and Envoy headers.

Signed-off-by: Anthony Regeda <regedaster@gmail.com>
@srenatus srenatus merged commit 99d5942 into open-policy-agent:main Jan 8, 2025
8 checks passed
@regeda regeda deleted the unify-get-headers-func branch January 8, 2025 23: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