CouchDB
  1. CouchDB
  2. COUCHDB-990

Update handlers ignore HTTP status codes in responses

    Details

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

      Unable to find source-code formatter for language: 400, body: 'bad user request']; . Available languages are: actionscript, html, java, javascript, none, sql, xhtml, xml
      
      

      '''

        Issue Links

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development