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

Error instead of dropping unauthorized headers #201

Merged
merged 2 commits into from
Nov 25, 2024

Conversation

aschmahmann
Copy link
Contributor

We previously just didn't honor headers that required authorization but didn't provide it, this errors making things more explicit and less error prone. @gammazero just ran into some confusion here and it seems like being more explicit here could be helpful.

WDYT @lidel?

…re not there or incorrect rather than silently ignoring those headers
handlers.go Outdated Show resolved Hide resolved
Co-authored-by: Andrew Gillis <[email protected]>
@gammazero gammazero merged commit 9b0b7f4 into main Nov 25, 2024
10 checks passed
@gammazero gammazero deleted the fix/401-unauthorized-headers branch November 25, 2024 17:01
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