Fixed broken authentication support in deprecated DefaultHttpClient and its subclasses
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1460554 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
720f2f2a24
commit
96c021c8dd
|
@ -222,6 +222,8 @@ public class DefaultHttpClient extends AbstractHttpClient {
|
|||
httpproc.addInterceptor(new ResponseProcessCookies());
|
||||
// HTTP authentication interceptors
|
||||
httpproc.addInterceptor(new RequestAuthCache());
|
||||
httpproc.addInterceptor(new RequestTargetAuthentication());
|
||||
httpproc.addInterceptor(new RequestProxyAuthentication());
|
||||
return httpproc;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue