-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Unauthenticated REST response contains invalid WWW-Authenticate
header
#1264
Comments
I encountered the same problem. |
The code above works fine. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Unauthenticated REST responses contain an invalid
WWW-Authenticate
header. This is a problem for HTTP clients that implement the general HTTP authentication framework. In my case, Dart'sHttpClient
chokes on the invalid header value and throws an exception instead of continuing to process the response.Steps to Reproduce
curl -v -X POST localhost:7350/v2/session/logout
Expected Result
The response should either contain no
WWW-Authenticate
header, or one that adheres to the specification, e.g.Basic realm=<realm>
.Actual Result
Your Environment
The text was updated successfully, but these errors were encountered: