hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r159777 - jakarta/httpclient/trunk/http-common/src/java/org/apache/http/params/HttpProtocolParams.java
Date Sat, 02 Apr 2005 17:16:11 GMT
Author: olegk
Date: Sat Apr  2 09:16:11 2005
New Revision: 159777

URL: http://svn.apache.org/viewcvs?view=rev&rev=159777
Log:
Add http.protocol.strict-transfer-encoding parameter

Modified:
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/params/HttpProtocolParams.java

Modified: jakarta/httpclient/trunk/http-common/src/java/org/apache/http/params/HttpProtocolParams.java
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/java/org/apache/http/params/HttpProtocolParams.java?view=diff&r1=159776&r2=159777
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/java/org/apache/http/params/HttpProtocolParams.java
(original)
+++ jakarta/httpclient/trunk/http-common/src/java/org/apache/http/params/HttpProtocolParams.java
Sat Apr  2 09:16:11 2005
@@ -124,6 +124,15 @@
      */
     public static final String VIRTUAL_HOST = "http.virtual-host"; 
 
+    /**
+     * Defines whether responses with an invalid <tt>Transfer-Encoding</tt> header
should be 
+     * rejected.
+     * <p>
+     * This parameter expects a value of type {@link Boolean}.
+     * </p>
+     */
+    public static final String STRICT_TRANSFER_ENCODING = "http.protocol.strict-transfer-encoding";

+
     private final HttpParams params;
     
     /**



Mime
View raw message