You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we have to use 'tnt_pass_http_request' directive for passing the request into procedure. Alternatively it would be convenient to have the directive controlling arguments passing into procedure. So you can pass only that you really need.
Example:
# Passing xxx, yyy and zzz params from request
tnt_method_args $arg_xxx $arg_yyy $arg_zzz
# Passing remote address and cookie 'session'
tnt_method_args $remote_addr $cookie_session
p.s.
'tnt_method_args' directive name used only for example. Maybe it's better to name it 'tnt_pass_args'
p.p.s
I don't remember exactly, whether nginx stores unescaping values in $arg_* variables or keeps them raw. If not so, it would be nice to have an ability to force unescaping for all variables passing into procedure
The text was updated successfully, but these errors were encountered:
Currently we have to use 'tnt_pass_http_request' directive for passing the request into procedure. Alternatively it would be convenient to have the directive controlling arguments passing into procedure. So you can pass only that you really need.
Example:
p.s.
'tnt_method_args' directive name used only for example. Maybe it's better to name it 'tnt_pass_args'
p.p.s
I don't remember exactly, whether nginx stores unescaping values in $arg_* variables or keeps them raw. If not so, it would be nice to have an ability to force unescaping for all variables passing into procedure
The text was updated successfully, but these errors were encountered: