From f4045473a0716f84e2af38073d1fb8aaab4a4062 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Mon, 25 Oct 2010 12:05:44 +0200 Subject: Couchdb : add method get_info(), which uses HEAD. So, returns only headers --- apps/couchdb.json | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'apps') diff --git a/apps/couchdb.json b/apps/couchdb.json index d664836..992b956 100644 --- a/apps/couchdb.json +++ b/apps/couchdb.json @@ -44,6 +44,14 @@ "path" : "/:database/:doc_id", "method" : "GET" }, + "get_info" : { + "required_params" : [ + "database", + "doc_id" + ], + "path" : "/:database/:doc_id", + "method" : "HEAD" + }, "get_all_documents_by_seq" : { "required_params" : [ "database" -- cgit v1.2.3