summaryrefslogtreecommitdiff
path: root/share/www/script/test/show_documents.js
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2009-12-23 00:55:35 +0000
committerJan Lehnardt <jan@apache.org>2009-12-23 00:55:35 +0000
commit6bd4afc34d12f96b3872e6b0bc028ad7f01b579c (patch)
treebb7fef7b034373dbe570755b2f5921861e7fdd83 /share/www/script/test/show_documents.js
parentfe98014a2345b504ea4bd876fd102c6738ed6bb5 (diff)
Follow RFC 2616 closer and use "verb" instead of "method"
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@893364 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script/test/show_documents.js')
-rw-r--r--share/www/script/test/show_documents.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/www/script/test/show_documents.js b/share/www/script/test/show_documents.js
index 5441e72c..f484e029 100644
--- a/share/www/script/test/show_documents.js
+++ b/share/www/script/test/show_documents.js
@@ -192,7 +192,7 @@ couchTests.show_documents = function(debug) {
var resp = JSON.parse(xhr.responseText);
T(equals(resp.headers["X-Foo"], "bar"));
T(equals(resp.query, {foo:"bar"}));
- T(equals(resp.verb, "GET"));
+ T(equals(resp.method, "GET"));
T(equals(resp.path[5], docid));
T(equals(resp.info.db_name, "test_suite_db"));