Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-764

first call to getRow() in list function forces headers

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: