[
https://issues.apache.org/jira/browse/HTTPCLIENT-1901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16349330#comment-16349330
]
David Schreibman commented on HTTPCLIENT-1901:
----------------------------------------------
Hi Oleg. Of course, you are right.
However, when I edit the example to hit my own server, I get 401 Unauthorized
when my client is compiled with 4.5.4 or above. Whereas I get 200 OK with 4.5.3.
Interesting. I wonder how that could be.
Thank you for your time.
> Digest Auth Example Not Working with 4.5.4
> ------------------------------------------
>
> Key: HTTPCLIENT-1901
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1901
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Reporter: David Schreibman
> Priority: Major
>
> This example is not working as of 4.5.4
> [https://hc.apache.org/httpcomponents-client-ga/httpclient/examples/org/apache/http/examples/client/ClientPreemptiveDigestAuthentication.java]
> I suspect it's due to
> * [HTTPCLIENT-1855] Disabled caching of DIGEST auth scheme instances due to
> unreliability of nonce counter
> when the auth cache is shared by multiple sessions.
> Contributed by Oleg Kalnichevski <olegk at apache.org>
> Are you saying the example is no longer supported? If so, take it down.
> Can we have an example of non-preemptive digest auth?
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]