Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.2.1
Description
After switching from 4.1.3 to 4.2.1 the preemptive authentication doesn't work as expected (and described in the tutorial - http://hc.apache.org/httpcomponents-client-ga/tutorial/html/authentication.html#d5e1032 ).
When credentials are provided for the auth cache after the very first 401 response the request should be handled as failed. Instead it's executed once again.
Attachments
Attachments
Issue Links
- relates to
-
HTTPCLIENT-1107 HttpClient does not retry authentication when multiple challenges are present if the primary one fails
- Closed