iilyak commented on a change in pull request #1082: Provide info=true and 
keys=[] arguments for /_all_dbs
URL: https://github.com/apache/couchdb/pull/1082#discussion_r161300367
 
 

 ##########
 File path: src/chttpd/src/chttpd_misc.erl
 ##########
 @@ -103,6 +103,52 @@ maybe_add_csp_headers(Headers, _) ->
     Headers.
 
 handle_all_dbs_req(#httpd{method='GET'}=Req) ->
+    Params = lists:flatmap(fun({K, V}) -> parse_all_dbs_param(K, V) end,
 
 Review comment:
   If you change `parse_all_dbs_param(K, V)` to accept tuple you would be able 
to write:
   
   ```
   lists:flatmap(fun parse_all_dbs_param/1, chttpd:qs(Req)),
   ```
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to