You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ch...@apache.org on 2015/06/02 21:31:16 UTC

[26/41] chttpd commit: updated refs/heads/2080-port-cors to e2c2bd7

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/f55a139b
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/tree/f55a139b
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/diff/f55a139b

Branch: refs/heads/2080-port-cors
Commit: f55a139b1adbe365f248a4b6c787f3be1c9e0335
Parents: 4ea930e
Author: Jan Lehnardt <ja...@apache.org>
Authored: Sun Feb 8 14:26:16 2015 +0100
Committer: Robert Newson <rn...@apache.org>
Committed: Mon Feb 9 19:47:47 2015 +0000

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


http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/f55a139b/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() ->