On Thu, 2019-01-03 at 11:33 -0500, Karl Wright wrote: > Hi Oleg et al, > > One ManifoldCF user has an unusual requirement for basic auth that > requires > the auth header to be sent pre-emptively, not as a consequence of > receiving > a 401 response. He proposes the following patch for ManifoldCF, but > I > wonder whether there's a better way to do this with existing > HttpComponents/HttpClient code. > > Here's the patch link: > > https://issues.apache.org/jira/secure/attachment/12953640/CONNECTORS-1564.patch > > Any thoughts? > > Karl
Hi Karl Could you please ask the contributor if he has considered using AuthCache to implement preemptive BASIC authentication as described here? http://hc.apache.org/httpcomponents-client-4.5.x/httpclient/examples/org/apache/http/examples/client/ClientPreemptiveBasicAuthentication.java Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
