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
This will allow us to always have the data set in $request_body, but we are looking to have a new variable set. $raw_request_body, $decoded_request_body because usually $request_body when logged encodes from of the fields that are being submited so they are printable on a single log line. We want to have $raw_request_body represent the data send by the client with no encoding. We want to have $decoded_request_body represent the $raw_request but if submitted either with "application/x-www-form-urlencoded" or "multipart/form-data" be decoded to be the raw binary that was sent.
The text was updated successfully, but these errors were encountered:
Basically there is the variable $request_body the is conditionally set.
I am looking to have our own module like
http://wiki.nginx.org/HttpEchoModule which has a directive echo_read_request_body which does this.
This will allow us to always have the data set in $request_body, but we are looking to have a new variable set. $raw_request_body, $decoded_request_body because usually $request_body when logged encodes from of the fields that are being submited so they are printable on a single log line. We want to have $raw_request_body represent the data send by the client with no encoding. We want to have $decoded_request_body represent the $raw_request but if submitted either with "application/x-www-form-urlencoded" or "multipart/form-data" be decoded to be the raw binary that was sent.
The text was updated successfully, but these errors were encountered: