anchor.diff:      end, {[], []}, DDocs),
       chttpd:send_json(Req, {[{<<"success">>, Success}, {<<"fail">>, Fail}]});
   
  +handle_index_req(#httpd{path_parts=[_, <<"_index">>,
  +        <<"_bulk_delete">>]}=Req, _Db) ->
  +    chttpd:send_method_not_allowed(Req, "POST");
  +
   handle_index_req(#httpd{method='DELETE',
           path_parts=[A, B, <<"_design">>, DDocId0, Type, Name]}=Req, Db) ->
       PathParts = [A, B, <<"_design/", DDocId0/binary>>, Type, Name],
  
positive.code:             ?MANGO_ERROR({error_saving_ddoc, Error})
      end;
  
  handle_index_req(Req, _Db) ->
      chttpd:send_method_not_allowed(Req, "GET,POST,DELETE").
  
  
  handle_explain_req(#httpd{method='POST'}=Req, Db) ->
  
negative.code:     end,
  	chttpd:send_json(Req, {[{result, Status}, {id, Id}, {name, Name}]});
  
  handle_index_req(#httpd{path_parts=[_, _]}=Req, _Db) ->
      chttpd:send_method_not_allowed(Req, "GET,POST");
  
  %% Essentially we just iterate through the list of ddoc ids passed in and
  %% delete one by one. If an error occurs, all previous documents will be
  %% deleted, but an error will be thrown for the current ddoc id.
  