anchor.diff:  -define(MAX_SIZE, 1000000).
   
   -include("chef_wm.hrl").
  +-include_lib("eunit/include/eunit.hrl").
   
   init(ResourceMod, Config) ->
       BaseState = init_base_state(ResourceMod, Config),
  
positive.code:     PublicKey;
  public_key(#chef_client{public_key = PublicKey}) ->
      PublicKey.
  
negative.code:     Mod:malformed_request_message(Reason, Req, State).
  
  forbidden(Req, #base_state{resource_mod=Mod}=State) ->
      %% For now we call auth_info because currently need the side-effect of looking up the
      %% record and returning 404.
      case Mod:auth_info(Req, State) of
          {{halt, _}, _, _} = Halt ->
              Halt;
          {_, Req1, State1} ->
              case handle_authz_check(Mod, Req1, State1) of
                  false ->
                      {Req2, State2} = set_forbidden_msg(Req1, State1),
                      {true, Req2, State2};
                  true ->
                      {false, Req1, State1}
              end
      end.
  
  is_authorized(Req, State) ->
  