commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r410372 - /jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/params/DefaultHttpParamsFactory.java
Date Tue, 30 May 2006 20:59:25 GMT
Author: olegk
Date: Tue May 30 13:59:24 2006
New Revision: 410372

URL: http://svn.apache.org/viewvc?rev=410372&view=rev
Log:
Fix for HTTPCLIENT-533: CookiePolicy.registerCookieSpec(CookiePolicy.DEFAULT, <Some CookieSpec>);
does not work as documented

Contributed by Ortwin Gl├╝ck
Reviewed by Oleg Kalnichevski

Modified:
    jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/params/DefaultHttpParamsFactory.java

Modified: jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/params/DefaultHttpParamsFactory.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/params/DefaultHttpParamsFactory.java?rev=410372&r1=410371&r2=410372&view=diff
==============================================================================
--- jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/params/DefaultHttpParamsFactory.java
(original)
+++ jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/params/DefaultHttpParamsFactory.java
Tue May 30 13:59:24 2006
@@ -69,7 +69,7 @@
         params.setParameter(HttpMethodParams.USER_AGENT, "Jakarta Commons-HttpClient/3.0");
         params.setVersion(HttpVersion.HTTP_1_1);
         params.setConnectionManagerClass(SimpleHttpConnectionManager.class);
-        params.setCookiePolicy(CookiePolicy.RFC_2109);
+        params.setCookiePolicy(CookiePolicy.DEFAULT);
         params.setHttpElementCharset("US-ASCII");
         params.setContentCharset("ISO-8859-1");
         params.setParameter(HttpMethodParams.RETRY_HANDLER, new DefaultHttpMethodRetryHandler());



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message