Hi,

I need to use preeemptive authentication and was very frustrated to see
that the simple client.getParams().setAuthenticationPreemptive(true);
of older versions
was replaced by a block of not understandable code in the tutorial that
everyone now needs to implement in his code every time he needs this
functionality - very wrong way in my opinion.


I am writing now because the examples posted under
http://hc.apache.org/httpcomponents-client-ga/tutorial/html/authenticati
on.html and
http://hc.apache.org/httpcomponents-client-ga/httpclient/examples/org/ap
ache/http/examples/client/ClientPreemptiveBasicAuthentication.java

are not working with the latest HttpClient 4.1.2 -
ClientContext.AUTH_CACHE and EntityUtils.consume are not available :(
So how to do preemptive basic with new releases?


Another thing: I sent this message first using the "Post" link on
http://hc.apache.org/mail-lists.html. Some time later I got a mail
that the message was not accepted and I should register to the
mailing-list. If this is the way you want to have it done, you should
remove the "Post" link from the page, as this is clearly misleading.

regards,
christian!

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to