Get the request_body in a handler
nginx-forum at nginx.us
Fri Apr 17 13:51:30 UTC 2015
Hi, I'm trying to make a module that will get the body of http requests and
print it in my log.
I tried to access the variable r->request_body (r is a ngx_http_request_t *)
and it's always empty.
I also know that the content is saved in a temp file, so maybe I can get it
but I don't know also how to find the name of this temp file.
Do you have any idea ?
Thank you :)
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,258156,258156#msg-258156
More information about the nginx