[
https://issues.apache.org/jira/browse/HTTPCLIENT-1241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafał Wicha updated HTTPCLIENT-1241:
------------------------------------
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.
was:
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.
> Preemptive authentication is not preemptive anymore
> ---------------------------------------------------
>
> Key: HTTPCLIENT-1241
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1241
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpClient
> Affects Versions: 4.2.1
> Reporter: Rafał Wicha
> Labels: authentication
> Attachments: preemptive-auth-log.txt
>
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]