mach0gr opened a new issue, #11886:
URL: https://github.com/apache/trafficserver/issues/11886

   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](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 ?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@trafficserver.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to