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
When opportunistic_auth is enabled but an Authorization header could not
be generated opportunistically, log a warning rather than raising an
exception.
If the request results in a 401, this reduces to the non-opportunistic
case, whose behavior remains the same as before.
This allows callers for whom enabling opportunistic auth is a more
appropriate default to do so, without needing to write additional
exception handling code to ensure they recover in the case that
opportunistic auth failed. In other words, take "opportunistic" to mean
"try early, but if that fails, don't just give up right away."
Signed-off-by: Joshua Bronson <jab@twosigma.com>
0 commit comments