anchor.diff:      ?LOG_DEBUG("Method:      ~p", [Method]),
       ?LOG_DEBUG("Request URI: ~p", [Path]),
       ?LOG_DEBUG("Headers: ~p", [mochiweb_headers:to_list(Req:get(headers))]),
  -    
  +
       {ok, Resp} = case catch(handle_request(Req, DocumentRoot, Method, Path)) of
           {ok, Resp0} ->
               {ok, Resp0};
  
positive.code:             couch_view:less_json({ViewKey, ViewId}, {EndKey, EndDocId})
          end
      end,
      
      NegCountFun = fun({{Key, DocId}, Value}, OffsetReds,
                        {AccCount, AccSkip, Resp, AccRevRows}) ->
          Offset = ReduceCountFun(OffsetReds),
  
negative.code: handle_replicate_request(_Req, _Method) ->
      throw({method_not_allowed, "POST"}).
  
  handle_unkown_private_uri_request(Req, _Method, UnknownPrivatePath) ->
    KnownPrivatePaths = ["_utils"],
    Msg = {obj,
      [
        {error, "Could not find the private path '_" ++
          mochiweb_util:unquote(UnknownPrivatePath) ++
          "'. Known private path(s): '" ++
          lists:flatten(KnownPrivatePaths) ++ "'"}
      ]
    },
    send_error(Req, 404, Msg).
  
  % Database request handlers
  
  handle_db_request(Req, Method, {Path}) ->
      UriParts = string:tokens(Path, "/"),
      [DbName|Rest] = UriParts,
      handle_db_request(Req, Method, {mochiweb_util:unquote(DbName), Rest});
  
  handle_db_request(Req, 'PUT', {DbName, []}) ->
      case couch_server:create(DbName, []) of
          {ok, _Db} ->
  