You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RFC 2617 Section 1.2 (http://tools.ietf.org/html/rfc2617#section-1.2) says that the realm directive should be parsed without caring about case. However, in L141 of HttpAuthenticator.java:
if (!value.regionMatches(pos, "realm=\"", 0, "realm=\"".length())) {
which is case-sensitive.
I am using OkHttp against a server which is responding with a header like:
WWW-Authenticate: Basic Realm="Acme API Authentication"
The text was updated successfully, but these errors were encountered:
RFC 2617 Section 1.2 (http://tools.ietf.org/html/rfc2617#section-1.2) says that the realm directive should be parsed without caring about case. However, in L141 of
HttpAuthenticator.java
:which is case-sensitive.
I am using OkHttp against a server which is responding with a header like:
The text was updated successfully, but these errors were encountered: