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

Update handlers ignore HTTP status codes in responses

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.1
    • Fix Version/s: 1.1.1, 1.2
    • Component/s: JavaScript View Server
    • Labels:
      None
    • Environment:

      OSX, built using brew

      Description

      The following update handler will always return 200

      '''
      function(doc, req){
      return [null, {code: 400, body: 'bad user request'];
      }
      '''

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                codesturgeon Nick Fisher
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: