anchor.diff:      end,
   
       increment_method_stats(Method1),
  -
       % alias HEAD to GET as mochiweb takes care of stripping the body
       Method = case Method1 of
           'HEAD' -> 'GET';
  
positive.code:             Response
          end
      catch
          throw:Error ->
              ?LOG_DEBUG("Minor error in HTTP request: ~p",[Error]),
              ?LOG_DEBUG("Stacktrace: ~p",[erlang:get_stacktrace()]),
  
negative.code: 
  start_response_length(#httpd{mochi_req=MochiReq}=Req, Code, Headers, Length) ->
      couch_stats_collector:increment({httpd_status_codes, Code}),
      Resp = MochiReq:start_response_length({Code, Headers ++ server_header() ++ couch_httpd_auth:cookie_auth_header(Req, Headers), Length}),
      case MochiReq:get(method) of
      'HEAD' -> throw({http_head_abort, Resp});
      _ -> ok
      end,
      {ok, Resp}.
  
  send(Resp, Data) ->
      Resp:send(Data),
  