CouchDB
  1. CouchDB
  2. COUCHDB-764

first call to getRow() in list function forces headers

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: JavaScript View Server
    • Labels:
      None
    • Environment:

      CouchDB!

    • Skill Level:
      Regular Contributors Level (Easy to Medium)

      Description

      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

        Issue Links

          Activity

          Jan Lehnardt made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Duplicate [ 3 ]
          Paul Joseph Davis made changes -
          Skill Level Regular Contributors Level (Easy to Medium)
          Jan Lehnardt made changes -
          Link This issue duplicates COUCHDB-430 [ COUCHDB-430 ]
          Jan Lehnardt made changes -
          Field Original Value New Value
          Link This issue duplicates COUCHDB-514 [ COUCHDB-514 ]
          mikeal created issue -

            People

            • Assignee:
              Unassigned
              Reporter:
              mikeal
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development