On 24 Jul 2009, at 11:55, [email protected] wrote:

Author: jan
Date: Fri Jul 24 09:55:09 2009
New Revision: 797400

URL: http://svn.apache.org/viewvc?rev=797400&view=rev
Log:
comment on jchris comment on not sending Content-Length for attachment GETs

Chris, or anyone:

--- couchdb/trunk/src/couchdb/couch_httpd_db.erl (original)
+++ couchdb/trunk/src/couchdb/couch_httpd_db.erl Fri Jul 24 09:55:09 2009
@@ -824,7 +824,9 @@
                % My understanding of http://www.faqs.org/rfcs/rfc2616.html
% says that we should not use Content-Length with a chunked % encoding. Turning this off makes libcurl happy, but I am
-                % open to discussion.
+                % open to discussion. (jchris)
+                %
+ % Can you point to the section that makes you think that? (jan) % {"Content-Length", integer_to_list(couch_doc:bin_size(Bin))}

I couldn't find any reference to that.

Cheers
Jan
--






Reply via email to