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

403 denial reported as db_not_found by replicator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • Replication
    • None

    Description

      In various places we've improved the status code of errors from 401 Unauthorised to 403 Forbidden to better match the HTTP spec.

      Unfortunately the replicator was not taught to anticipate this and so sends misleading db_not_found errors when it can't open a database because of a 403 forbidden result.

      I'll submit a small PR to improve error handling.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rnewson Robert Newson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: