hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Jacobs <Ron.Jac...@Reardencommerce.com>
Subject AuthPNames.TARGET_AUTH_PREF and AuthPNames.PROXY_AUTH_PREF
Date Fri, 11 Mar 2011 17:47:51 GMT
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);


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


Mime
View raw message