couchdb-client icon indicating copy to clipboard operation
couchdb-client copied to clipboard

Support HTTP 202 accepted for database delete

Open vlad88sv opened this issue 5 years ago • 2 comments

On clustered CouchDB servers deleting a DB may return 202 - Accepted: Request has been accepted, but the corresponding operation may not have completed.

Reference: https://docs.couchdb.org/en/stable/api/basics.html#http-status-codes

vlad88sv avatar Jul 28 '20 22:07 vlad88sv

Thank you for your review @SenseException, please let me know if I need to add/fix anything else to get this accepted/merged.

I depend on this library for a production system and I would like to continue using the official version instead of a fork.

vlad88sv avatar Jul 30 '20 15:07 vlad88sv

I'm not familiar with couchdb-client and if you need to target the release/1.0.0 branch. Can anyone of @doctrine/team-couchdb tell?

SenseException avatar Jul 31 '20 19:07 SenseException