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:
Oleg Kalnichevski 2013-03-25 09:15:13 +00:00
parent 720f2f2a24
commit 96c021c8dd
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}