couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Bronson (JIRA)" <j...@apache.org>
Subject [jira] Created: (COUCHDB-385) responses to HEAD requests for _all_docs* have bogus "Content-Length: 0" header
Date Tue, 16 Jun 2009 21:24:07 GMT
responses to HEAD requests for _all_docs* have bogus "Content-Length: 0" header
-------------------------------------------------------------------------------

                 Key: COUCHDB-385
                 URL: https://issues.apache.org/jira/browse/COUCHDB-385
             Project: CouchDB
          Issue Type: Bug
    Affects Versions: 0.9
         Environment: Linux melkjug.org 2.6.26-hardened-r4 #2 SMP Fri Oct 24 00:59:43 AKDT
2008 x86_64 Intel(R) Xeon(R) CPU L5430 @ 2.66GHz GenuineIntel GNU/Linux
            Reporter: Joshua Bronson


CouchDB invariably sends a bogus "Content-Length: 0" header in response to HEAD requests for
_all_docs and _all_docs_by_seq (and possibly other queries). According to http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.4
"The metainformation contained in the HTTP headers in response to a HEAD request SHOULD be
identical to the information sent in response to a GET request."

(I discovered this while writing a python script to stream the body of an _all_docs_by_seq
response to stdout for use as a database dump.)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message