anchor.diff:      end.
   
   request_method() ->
  -    case sbw:request_method(?BRIDGE) of
  +    Req = request_bridge(),
  +    case apply(element(1,Req),request_method,Req) of
           'GET'       -> get;
           get         -> get;
           'POST'      -> post;
  
positive.code:     is_record(context(), context).
  
  socket() ->
      sbw:socket(?BRIDGE).
  
  path() ->
      Req = request_bridge(),
      sbw:path(Req).
  
  protocol() ->
      Req = request_bridge(),
      sbw:protocol(Req).
  
  uri() ->
      Req = request_bridge(),
      sbw:uri(Req).
  
  url() ->
      Protocol = wf:to_list(protocol()),
  
negative.code:     Protocol ++ "://" ++ Host ++ Uri.
  
  peer_ip() ->
      Req = request_bridge(),
      apply(element(1,Req),peer_ip,Req).
  
  
  peer_ip(Proxies) ->
      peer_ip(Proxies,x_forwarded_for).
  