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

Send a WWW-Authenticate header when the response code is 401 #273

Open
axispx opened this issue May 16, 2021 · 0 comments
Open

Send a WWW-Authenticate header when the response code is 401 #273

axispx opened this issue May 16, 2021 · 0 comments

Comments

@axispx
Copy link

axispx commented May 16, 2021

Since, the default Unauthorized function does not send WWW-Authentication header when the status code is 401, it doesn't work with some http clients. Requesting you to look into this.

For reference: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401

I can create a PR if you think this should be a default.

Thanks.

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

No branches or pull requests

1 participant