Description
The body-transformer plugin is a very flexible plugin to modify the body content of requests and responses, and we can already use the body-transformer plugin to manipulate arbitrary data formats with the lua templates. However, if you don't specify input_format and Content-Type isn't JSON or XML it will always log a warning about "no input format to parse request/response body".
Adding another format to the input_format enum, none, that explicitly tells body-transformer to not try to parse or validate the body content and silences this warning would be convenient.
Description
The body-transformer plugin is a very flexible plugin to modify the body content of requests and responses, and we can already use the
body-transformerplugin to manipulate arbitrary data formats with the lua templates. However, if you don't specifyinput_formatandContent-Typeisn't JSON or XML it will always log a warning about "no input format to parse request/response body".Adding another format to the
input_formatenum,none, that explicitly tellsbody-transformerto not try to parse or validate the body content and silences this warning would be convenient.