anchor.diff:      try
           chef_authn:validate_headers(GetHeader, AuthSkew),
           OrgId = fetch_org_guid(Req, State1),
  -        {Req1, State2} = Mod:validate_request(wrq:method(Req), Req,
  +        Req1 = body_not_too_big(Req),
  +        {Req2, State2} = Mod:validate_request(wrq:method(Req1), Req1,
                                                 State1#base_state{organization_guid = OrgId}),
  -        {false, Req1, State2}
  +        {false, Req2, State2}
       catch
           throw:{org_not_found, Org} ->
               Msg = iolist_to_binary([<<"organization '">>, Org, <<"' does not exist.">>]),
  -            Req2 = wrq:set_resp_body(ejson:encode({[{<<"error">>, [Msg]}]}), Req),
  -            {{halt, 404}, Req2, State1#base_state{log_msg = org_not_found}};
  +            Req3 = wrq:set_resp_body(ejson:encode({[{<<"error">>, [Msg]}]}), Req),
  +            {{halt, 404}, Req3, State1#base_state{log_msg = org_not_found}};
           throw:bad_clock ->
               Msg1 = malformed_request_message(bad_clock, Req, State),
  -            Req2 = wrq:set_resp_body(ejson:encode(Msg1), Req),
  -            {{halt, 401}, Req2, State1#base_state{log_msg = bad_clock}};
  +            Req3 = wrq:set_resp_body(ejson:encode(Msg1), Req),
  +            {{halt, 401}, Req3, State1#base_state{log_msg = bad_clock}};
                   throw:bad_headers ->
               Msg1 = malformed_request_message(bad_headers, Req, State),
               Req3 = wrq:set_resp_body(ejson:encode(Msg1), Req),
  
positive.code:     BypassesChecks = SuperuserBypassesChecks andalso is_superuser(UserName),
      {UserName, BypassesChecks}.
  
  -spec maybe_create_authz(ReqId::binary(), ActorId::object_id(),
                           ContainerId::object_id() | {authz_id, AuthzId::object_id()})
      -> {ok, object_id()} | {error, _}.
  
negative.code: %% -callback auth_info(#wm_reqdata{}, any()) -> {not_found | binary(), #wm_reqdata{}, any()}.
  
  -define(NO_PING, no_ping).
  
  %% This is the max size allowed for incoming request bodies.
  -define(MAX_SIZE, 1000000).
  
  -include("chef_wm.hrl").
  
  init(ResourceMod, Config) ->
  