You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "mikeal (JIRA)" <ji...@apache.org> on 2010/05/18 03:44:42 UTC

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

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.


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

Posted by Zachary Zolton <za...@gmail.com>.
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) <ji...@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.
>
>

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

Posted by "Paul Joseph Davis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Joseph Davis updated COUCHDB-764:
--------------------------------------

    Skill Level: Regular Contributors Level (Easy to Medium)

> 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.