You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Jan Lehnardt (Closed) (JIRA)" <ji...@apache.org> on 2011/10/29 16:55:32 UTC

[jira] [Closed] (COUCHDB-764) first call to getRow() in list function forces headers

     [ https://issues.apache.org/jira/browse/COUCHDB-764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Lehnardt closed COUCHDB-764.
--------------------------------

    Resolution: Duplicate
    
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira