summaryrefslogtreecommitdiff
path: root/share/www/script/couch.js
diff options
context:
space:
mode:
authorDamien F. Katz <damien@apache.org>2009-02-11 16:12:39 +0000
committerDamien F. Katz <damien@apache.org>2009-02-11 16:12:39 +0000
commitfd31ca2f9ee86cafa2b55da5f969616a1e06926d (patch)
tree1f59347028521afed3e3301eaa2394981177de58 /share/www/script/couch.js
parent59f41c2678f59a2effade9651c0de11bbe811c56 (diff)
Changed _uuid to respond to GET instead of POST. Bug COUCHDB-190
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@743373 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script/couch.js')
-rw-r--r--share/www/script/couch.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/www/script/couch.js b/share/www/script/couch.js
index 96612faa..21382dd0 100644
--- a/share/www/script/couch.js
+++ b/share/www/script/couch.js
@@ -312,7 +312,7 @@ CouchDB.newUuids = function(n) {
}
return uuids;
} else {
- CouchDB.last_req = CouchDB.request("POST", "/_uuids?count=" + (100 + n));
+ CouchDB.last_req = CouchDB.request("GET", "/_uuids?count=" + (100 + n));
CouchDB.maybeThrowError(CouchDB.last_req);
var result = JSON.parse(CouchDB.last_req.responseText);
CouchDB.uuids_cache =