New HttpClient API - does it handle preemptive auth?
Jaikiran Pai
jai.forums2013 at gmail.com
Mon Jun 25 11:46:42 UTC 2018
I'm testing/integrating the latest OpenJDK upstream HttpClient
implementation with one of the libraries I have. Thanks for fixing some
of the issues I (and others) had raised before!
Before the introduction of this new API, the HttpURLConnection (which
acted as a basic minimal client for HTTP) had an internal implementation
detail where it handled preemptive authentication for resources which
required auth. Does this new HttpClient implementation support
preemptive auth? I haven't seen it exposed as an API (haven't checked
the latest merged javadocs). But is it something that's even handled
internally currently? Any plans to expose it as an API?
-Jaikiran
More information about the net-dev
mailing list