diff options
author | John Christopher Anderson <jchris@apache.org> | 2008-12-29 23:43:10 +0000 |
---|---|---|
committer | John Christopher Anderson <jchris@apache.org> | 2008-12-29 23:43:10 +0000 |
commit | 0eaf109d9d2c5bbda4a33d7c106c3a9f06f52d2a (patch) | |
tree | 759167072f99606fe082864c1ffe5068dae0e4f3 /src/couchdb/couch_httpd_misc_handlers.erl | |
parent | 46874e0e90a46fefe0a6f7e1ef574bb6a2fcaf78 (diff) |
merge form branch to trunk
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@730016 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_httpd_misc_handlers.erl')
-rw-r--r-- | src/couchdb/couch_httpd_misc_handlers.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/couchdb/couch_httpd_misc_handlers.erl b/src/couchdb/couch_httpd_misc_handlers.erl index 9651436c..c9a56c5c 100644 --- a/src/couchdb/couch_httpd_misc_handlers.erl +++ b/src/couchdb/couch_httpd_misc_handlers.erl @@ -24,7 +24,7 @@ -import(couch_httpd, [send_json/2,send_json/3,send_json/4,send_method_not_allowed/2, start_json_response/2,send_chunk/2,end_json_response/1, - start_chunked_response/3]). + start_chunked_response/3, send_error/4]). % httpd global handlers @@ -173,5 +173,5 @@ increment_update_seq_req(#httpd{method='POST'}=Req, Db) -> {update_seq, NewSeq} ]}); increment_update_seq_req(Req, _Db) -> - send_method_not_allowed(Req, "GET,PUT,DELETE"). + send_method_not_allowed(Req, "POST"). |