jquery.couch.js works with PUT to delete.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@955782 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/jquery.couch.js b/jquery.couch.js
index b691ea0..9193860 100644
--- a/jquery.couch.js
+++ b/jquery.couch.js
@@ -372,7 +372,7 @@
beforeSend : beforeSend,
complete: function(req) {
var resp = $.httpData(req, "json");
- if (req.status == 201 || req.status == 202) {
+ if (req.status == 200 || req.status == 201 || req.status == 202) {
doc._id = resp.id;
doc._rev = resp.rev;
if (versioned) {