anchor.diff:      {Space, Req2};
   provide_resource(ip, _ProviderId, _Client, Req) ->
       {{Ip, _Port}, Req2} = cowboy_req:peer(Req),
  -    {list_to_binary(inet_parse:ntoa(Ip)), Req2};
  -provide_resource(ports, _ProviderId, _Client, Req) ->
  -    {ok, Body, Req2} = cowboy_req:body(Req),
  -    Data = mochijson2:decode(Body, [{format, proplist}]),
  -    {provider_logic:test_connection(Data), Req2}.
  +    {list_to_binary(inet_parse:ntoa(Ip)), Req2}.
   
   
   %% delete_resource/3
  
positive.code:         true ->
              {ok, SpaceId} = space_logic:support(ProviderId, Token),
              {{true,  <<"/provider/spaces/", SpaceId/binary>>}, Req}
      end.
  
  
  %% provide_resource/4
  %% ====================================================================
  
negative.code: %% ====================================================================
  is_authorized(ip, get, _, _) ->
      true;
  is_authorized(ports, post, _, _) ->
      true;
  is_authorized(provider, post, _, #client{type = undefined}) ->
      true;
  