anchor.diff:      {500, error, Error}.
   
   send_error(Req, {method_not_allowed, Methods}) ->
  -    {ok, Req:respond({405, [{"Allow", Methods}], <<>>})};
  +    {ok, Req:respond({405, [{"Allow", Methods}] ++ server_header(), <<>>})};
   send_error(Req, {modified, Etag}) ->
  -    {ok, Req:respond({412, [{"Etag", Etag}], <<>>})};
  +    {ok, Req:respond({412, [{"Etag", Etag}] ++ server_header(), <<>>})};
   send_error(Req, {not_modified, Etag}) ->
  -    {ok, Req:respond({304, [{"Etag", Etag}], <<>>})};
  +    {ok, Req:respond({304, [{"Etag", Etag}] ++ server_header(), <<>>})};
   send_error(Req, Error) ->
       {Code, Json} = error_to_json(Error),
       ?LOG_INFO("HTTP Error (code ~w): ~p", [Code, Error]),
  
positive.code:         "/_restart" ->
              handle_restart_request(Req, Method);
          "/_utils" ->
              {ok, Req:respond({301, [{"Location", "/_utils/"}], <<>>})};
          "/_utils/" ++ PathInfo ->
              {ok, Req:serve_file(PathInfo, DocumentRoot)};
          "/_" ++ _Path ->
              throw({not_found, unknown_private_path});
          "/favicon.ico" ->
  
negative.code:             throw({not_found, missing});
          {Type, Bin} ->
              Resp = Req:respond({200, [
                  {"Cache-Control", "must-revalidate"},
                  {"Content-Type", Type},
                  {"Content-Length", integer_to_list(couch_doc:bin_size(Bin))}
              ] ++ server_header(), chunked}),
              couch_doc:bin_foldl(Bin,
                  fun(BinSegment, []) ->
                      ok = Resp:write_chunk(BinSegment),
  