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

first call to getRow() in list function forces headers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • JavaScript View Server
    • None
    • CouchDB!

    • 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

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

              Dates

                Created:
                Updated:
                Resolved: