anchor.diff:  
       {ok, Session} = tts_session_mgr:get_session(CookieSessionId),
       {ok, SessionId} = tts_session:get_id(Session),
  -    AtomPath = map_to_atom(Path, ?PATHMAPPING, ep_main),
       AtomMethod = map_to_atom(Method, ?HTTPMETHODMAPPING),
  -    QsMap = create_map_from_proplist(QsList),
       BodyQsMap = create_map_from_proplist(BodyQsList),
       UserAgent = get_header(<<"user-agent">>, Headers),
  -    Referer = get_header(<<"referer">>, Headers),
       LoggedIn = is_logged_in(UserAgent, PeerIP, Session),
       ReqMap = #{
  -      path => AtomPath,
         method => AtomMethod,
         session => Session,
         session_id => SessionId,
         logged_in => LoggedIn,
  -      referer => Referer,
  -      user_agent => UserAgent,
  -      qs => QsMap,
         body_qs => BodyQsMap
        },
       {ok, Req99, #state{req_map = ReqMap, config_loaded = true,
  
positive.code:                             {<<"POST">>, post}
                             ]).
  
  -define(PATHMAPPING, [
                        {?CONFIG(ep_redirect), ep_redirect},
                        {?CONFIG(ep_return), ep_return},
                        {?CONFIG(ep_user), ep_user}
                       ]).
  
  -define(QSMAPPING, [
                     {<<"action">>, action, value},
                     {<<"request">>, request},
  
negative.code: extract_args(Req, false) ->
      {ok, Req, #state{ config_loaded = false }};
  extract_args(Req, true) ->
      {CookieSessionId, Req4} = cowboy_req:cookie(?COOKIE, Req),
      {ok, BodyQsList, Req5} = cowboy_req:body_qs(Req4),
      {Headers, Req6} = cowboy_req:headers(Req5),
      {Method, Req7} = cowboy_req:method(Req6),
  