On Thu, 2011-03-10 at 10:58 -0800, Eric Jain wrote: > On Thu, Mar 10, 2011 at 02:32, Oleg Kalnichevski <[email protected]> wrote: > > I just recently re-tested that particular bit of code and it worked for > > me (at least with BASIC auth). > > > > You may want to generate a wire / context log of the session to see > > whether or not auth credentials get cached. > > In the log (see below) I can see "Caching 'basic' auth scheme for > http://test:80" after the first request, and prior to the second > request "Re-using cached 'basic' auth scheme for http://test:80" and > "No credentials for preemptive authentication". > >
This might be due to this bug https://issues.apache.org/jira/browse/HTTPCLIENT-1056 Can you try the latest snapshot off the trunk or 4.1.x branch? Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
