couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From TomaszKasowicz <>
Subject [GitHub] couchdb issue #452: DELETE /db/doc/attachment returns 200 OK for non existin...
Date Wed, 08 Mar 2017 19:48:18 GMT
GitHub user TomaszKasowicz opened an issue:

    DELETE /db/doc/attachment returns 200 OK for non existing attachments

    While playing with doc attachments I found out that CouchDB returns 200 OK and updates
document rev when user tries to delete non-existing attachment
    Here's an example output
    root@5d984b5559b3:/# curl -X PUT ''
    root@5d984b5559b3:/# curl -X PUT '' -d '{}'
    root@5d984b5559b3:/# curl -X DELETE ''
    Is this OK? I'm confused because CouchDB API documentation states that I should receive
    Thank You



If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message