hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1536309 - /httpcomponents/httpclient/trunk/src/docbkx/authentication.xml
Date Mon, 28 Oct 2013 10:50:55 GMT
Author: olegk
Date: Mon Oct 28 10:50:55 2013
New Revision: 1536309

URL: http://svn.apache.org/r1536309
Log:
HTTPCLIENT-1427: code sample fix in tutorial
Contributed by Lars Francke <lars.francke at gmail.com>

Modified:
    httpcomponents/httpclient/trunk/src/docbkx/authentication.xml

Modified: httpcomponents/httpclient/trunk/src/docbkx/authentication.xml
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/src/docbkx/authentication.xml?rev=1536309&r1=1536308&r2=1536309&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/src/docbkx/authentication.xml (original)
+++ httpcomponents/httpclient/trunk/src/docbkx/authentication.xml Mon Oct 28 10:50:55 2013
@@ -293,6 +293,7 @@ authCache.put(targetHost, basicAuth);
 // Add AuthCache to the execution context
 HttpClientContext context = HttpClientContext.create();
 context.setCredentialsProvider(credsProvider);
+context.setAuthCache(authCache);
 
 HttpGet httpget = new HttpGet("/");
 for (int i = 0; i < 3; i++) {



Mime
View raw message