You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2015/02/08 14:26:25 UTC

chttpd commit: updated refs/heads/mango to 21c33ba

Repository: couchdb-chttpd
Updated Branches:
  refs/heads/mango [created] 21c33ba3f


add mango URL endpoints


Project: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/commit/21c33ba3
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/tree/21c33ba3
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/diff/21c33ba3

Branch: refs/heads/mango
Commit: 21c33ba3fbc1a9503e25aed27cf4cd8f1b4760ad
Parents: abd7f9a
Author: Jan Lehnardt <ja...@apache.org>
Authored: Sun Feb 8 14:26:16 2015 +0100
Committer: Jan Lehnardt <ja...@apache.org>
Committed: Sun Feb 8 14:26:16 2015 +0100

----------------------------------------------------------------------
 src/chttpd.erl | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/21c33ba3/src/chttpd.erl
----------------------------------------------------------------------
diff --git a/src/chttpd.erl b/src/chttpd.erl
index 87a59ee..de79478 100644
--- a/src/chttpd.erl
+++ b/src/chttpd.erl
@@ -384,7 +384,10 @@ db_url_handlers() ->
         {<<"_design">>,         fun chttpd_db:handle_design_req/2},
         {<<"_temp_view">>,      fun chttpd_view:handle_temp_view_req/2},
         {<<"_changes">>,        fun chttpd_db:handle_changes_req/2},
-        {<<"_shards">>,         fun mem3_httpd:handle_shards_req/2}
+        {<<"_shards">>,         fun mem3_httpd:handle_shards_req/2},
+        {<<"_index">>,          fun mango_httpd:handle_req/2},
+        {<<"_explain">>,        fun mango_httpd:handle_req/2},
+        {<<"_find">>,           fun mango_httpd:handle_req/2}
     ].
 
 design_url_handlers() ->