anchor.diff:  error_info(file_exists) ->
       {412, <<"file_exists">>, <<"The database could not be "
           "created, the file already exists.">>};
  +error_info(request_entity_too_large) ->
  +    {413, <<"too_large">>, <<"the request entity is too large">>};
   error_info({bad_ctype, Reason}) ->
       {415, <<"bad_content_type">>, Reason};
   error_info(requested_range_not_satisfiable) ->
  
positive.code:                 " must be built with Erlang OTP R13B04 or higher.",
              ?LOG_ERROR("~s", [ErrorReason]),
              send_error(HttpReq, {bad_otp_release, ErrorReason});
          throw:Error ->
              Stack = erlang:get_stacktrace(),
              ?LOG_DEBUG("Minor error in HTTP request: ~p",[Error]),
  
negative.code:     % called with Length == 0 on the last time.
      MochiReq:stream_body(MaxChunkSize, ChunkFun, InitState).
  
  body_length(#httpd{mochi_req=MochiReq}) ->
      MochiReq:get(body_length).
  
  body(#httpd{mochi_req=MochiReq, req_body=undefined}) ->
      MaxSize = list_to_integer(
          couch_config:get("couchdb", "max_document_size", "4294967296")),
      MochiReq:recv_body(MaxSize);
  body(#httpd{req_body=ReqBody}) ->
      ReqBody.
  
  