Welcome! Log In Create A New Profile

Advanced

Get the request_body in a handler

April 17, 2015 09:51AM
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 :)
Subject Author Posted

Get the request_body in a handler

nooske April 17, 2015 09:51AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 58
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready