FYI, I posted a very similar issue last September: https://issues.apache.org/jira/browse/COUCHDB-514
HTH, Zach On Mon, May 17, 2010 at 8:44 PM, mikeal (JIRA) <j...@apache.org> wrote: > first call to getRow() in list function forces headers > ------------------------------------------------------ > > Key: COUCHDB-764 > URL: https://issues.apache.org/jira/browse/COUCHDB-764 > Project: CouchDB > Issue Type: Bug > Components: JavaScript View Server > Environment: CouchDB! > Reporter: mikeal > > > In a list function the first time getRow() is called we send headers. > > This means that if no rows are available the view server cannot send a 404. > > We should not force the headers to be sent until the send() call. > > -Mikeal > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. > >