diff options
author | Jan Lehnardt <jan@apache.org> | 2009-07-24 09:55:09 +0000 |
---|---|---|
committer | Jan Lehnardt <jan@apache.org> | 2009-07-24 09:55:09 +0000 |
commit | b58eb73f281ebb9f741fc924afe52cc14f709a3d (patch) | |
tree | d81eb434ca8310932d08f59cf93cd3e812940049 /src/couchdb | |
parent | 3ce1956feec453e176414a1896c8faf3668148a8 (diff) |
comment on jchris comment on not sending Content-Length for attachment GETs
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@797400 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb')
-rw-r--r-- | src/couchdb/couch_httpd_db.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/couchdb/couch_httpd_db.erl b/src/couchdb/couch_httpd_db.erl index 46410ff7..7498a521 100644 --- a/src/couchdb/couch_httpd_db.erl +++ b/src/couchdb/couch_httpd_db.erl @@ -824,7 +824,9 @@ db_attachment_req(#httpd{method='GET'}=Req, Db, DocId, FileNameParts) -> % 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))} ]), couch_doc:att_foldl(Att, |