On Fri, 2011-03-11 at 17:47 +0000, Ron Jacobs wrote:
> I have ported from 3.0.2 and in the old code I had:
> 
>       client.getParams().setParameter(AuthPolicy.AUTH_SCHEME_PRIORITY,
>           policyList);
> 
> To get the most similar behavior with the 4.1 API, do I set
> AuthPNames.TARGET_AUTH_PREF, AuthPNames.PROXY_AUTH_PREF, or both?
> 
>       client.getParams().setParameter(AuthPNames.TARGET_AUTH_PREF,
>           policyList);
>       client.getParams().setParameter(AuthPNames.PROXY_AUTH_PREF,
>           policyList);
> 

Both.

Oleg



---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org

Reply via email to