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
The currently exposed LUA function ts.client_request.get_headers() is returning a LUA table holding all headers and their values. However, Lua tables are inherently unordered, which makes preserving the original order of headers impossible.
I would like to put a feture request to expose a LUA function that can return the headers in a big string or on an indexed LUA table.
Preserving the order or headers in the order the client sent them is important for troubleshooting purposes as well as client fingerprinting.
The currently exposed LUA function ts.client_request.get_headers() is returning a LUA table holding all headers and their values. However, Lua tables are inherently unordered, which makes preserving the original order of headers impossible.
I would like to put a feture request to expose a LUA function that can return the headers in a big string or on an indexed LUA table.
Preserving the order or headers in the order the client sent them is important for troubleshooting purposes as well as client fingerprinting.
This process is already available in your output_header test plugin seen here
https://github.com/apache/trafficserver/blob/9.2.x/example/plugins/c-api/output_header/output_header.c#L72
can you expose it to LUA ?
The text was updated successfully, but these errors were encountered: