Skip to content

How to return UNAUTHORIZED response if Basic headers fail to be decoded? #3405

Answered by yanns
JasterV asked this question in Q&A
Discussion options

You must be logged in to vote

Can you use a Result instead of an Option?

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@JasterV
Comment options

@yanns
Comment options

yanns Jul 9, 2025
Collaborator

@JasterV
Comment options

@JasterV
Comment options

Answer selected by JasterV
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants