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

Update to /db/docid with new revision yields 200 instead of documented 201

    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • Documentation
    • None

    Description

      PUT /db/docid returns statusCode 201 (as documented) when created. It returns statusCode 200, however, when PUT is a new revision on an existing document.
      Possible Resolution -
      1) Augment Documentation to reflect behavior
      2) Fix statusCode on all PUT operations to 201

      Attachments

        Activity

          People

            Unassigned Unassigned
            beckerwilliams Ron Williams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: