anchor.diff:          undefined ->
               {true, missing_content_type(RD), Ctx};
           _ -> {false, RD, Ctx}
  -    end.
  -
  -%% @doc Detects whether fetching the requested object results in an
  -%% error.
  -malformed_check_doc(RD, Ctx) ->
  -    DocCtx = ensure_doc(Ctx),
  -    case DocCtx#ctx.doc of
  -        {error, Reason} ->
  -            handle_common_error(Reason, RD, DocCtx);
  -        _ ->
  -            {false, RD, DocCtx}
       end.
   
   %% @spec malformed_timeout_param(reqdata(), context()) ->
  
positive.code:                       RD, Ctx);
  malformed_request(RD, Ctx) ->
      malformed_request([fun malformed_timeout_param/2,
                         fun malformed_rw_params/2,
                         fun malformed_check_doc/2], RD, Ctx).
  
  %% @doc Given a list of 2-arity funs, threads through the request data
  %% and context, returning as soon as a single fun discovers a
  
negative.code: -export([
           init/1,
           service_available/2,
           is_authorized/2,
           forbidden/2,
           allowed_methods/2,
           allow_missing_post/2,
  