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

Update handlers ignore HTTP status codes in responses

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.1
    • 1.1.1, 1.2
    • JavaScript View Server
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: