abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r524848 - /incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/client/RequestOptions.java
Date Mon, 02 Apr 2007 17:45:09 GMT
Author: jmsnell
Date: Mon Apr  2 10:45:08 2007
New Revision: 524848

URL: http://svn.apache.org/viewvc?view=rev&rev=524848
Log:
Flip from using chunked encoding when sending requests to explicitly setting the content length.
 Althought chunking
is the most efficient mechanism, most of the server implementations I've come across request
that the content-length
request header be set.  Flipping this bit should make it easier to work with the most common
cases.

Modified:
    incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/client/RequestOptions.java

Modified: incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/client/RequestOptions.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/client/RequestOptions.java?view=diff&rev=524848&r1=524847&r2=524848
==============================================================================
--- incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/client/RequestOptions.java
(original)
+++ incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/client/RequestOptions.java
Mon Apr  2 10:45:08 2007
@@ -39,7 +39,7 @@
 
   private boolean noLocalCache = false;
   private boolean revalidateAuth = false;
-  private boolean useChunked = true;
+  private boolean useChunked = false;
   
   private final Map<String,List<String>> headers;  
   



Mime
View raw message