Welcome! Log In Create A New Profile

Advanced

Get request_body in set_by_lua directive

March 15, 2012 06:59AM
I wont to parse the request_body in a lua script file but am unable to access the request_body in set_by_lua_file directive. Is there any way to access the headers/cookies/get/post ?

my conf structure is like

http{
server {
...

set_by_lua_file $myContent myFile.lua;

location @abcd {
...
}

}
}
Subject Author Posted

Get request_body in set_by_lua directive

rishabh March 15, 2012 06:59AM

Re: Get request_body in set_by_lua directive

agentzh March 15, 2012 10:32PM

Re: Get request_body in set_by_lua directive

rishabh March 19, 2012 06:02AM

Re: Get request_body in set_by_lua directive

agentzh March 19, 2012 06:52AM

Re: Get request_body in set_by_lua directive

maanas April 28, 2013 03:13PM

Re: Get request_body in set_by_lua directive

agentzh April 28, 2013 11:10PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 126
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready