diff options
author | Jan Lehnardt <jan@apache.org> | 2009-12-23 00:55:35 +0000 |
---|---|---|
committer | Jan Lehnardt <jan@apache.org> | 2009-12-23 00:55:35 +0000 |
commit | 6bd4afc34d12f96b3872e6b0bc028ad7f01b579c (patch) | |
tree | bb7fef7b034373dbe570755b2f5921861e7fdd83 /share/www/script/test/erlang_views.js | |
parent | fe98014a2345b504ea4bd876fd102c6738ed6bb5 (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/erlang_views.js')
-rw-r--r-- | share/www/script/test/erlang_views.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/www/script/test/erlang_views.js b/share/www/script/test/erlang_views.js index 4e1e676e..e9e0363f 100644 --- a/share/www/script/test/erlang_views.js +++ b/share/www/script/test/erlang_views.js @@ -57,7 +57,7 @@ couchTests.erlang_views = function(debug) { 'fun(Doc, {Req}) -> ' + ' {Info} = proplists:get_value(<<"info">>, Req, {[]}), ' + ' Purged = proplists:get_value(<<"purge_seq">>, Info, -1), ' + - ' Verb = proplists:get_value(<<"verb">>, Req, <<"not_get">>), ' + + ' Verb = proplists:get_value(<<"method">>, Req, <<"not_get">>), ' + ' R = list_to_binary(io_lib:format("~b - ~s", [Purged, Verb])), ' + ' {[{<<"code">>, 200}, {<<"headers">>, {[]}}, {<<"body">>, R}]} ' + 'end.' |