You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/01/17 14:19:08 UTC

[GitHub] jiangphcn commented on a change in pull request #1082: Introduce new _dbs_info endpoint to get info of a list of databases

jiangphcn commented on a change in pull request #1082: Introduce new _dbs_info endpoint to get info of a list of databases
URL: https://github.com/apache/couchdb/pull/1082#discussion_r162062185
 
 

 ##########
 File path: src/chttpd/src/chttpd_misc.erl
 ##########
 @@ -141,6 +144,38 @@ all_dbs_callback({error, Reason}, #vacc{resp=Resp0}=Acc) ->
     {ok, Resp1} = chttpd:send_delayed_error(Resp0, Reason),
     {ok, Acc#vacc{resp=Resp1}}.
 
+handle_dbs_info_req(#httpd{method='POST'}=Req) ->
+    chttpd:validate_ctype(Req, "application/json"),
+    Props = couch_httpd:json_body_obj(Req),
 
 Review comment:
   changed to chttpd:json_body_obj/1

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services