Skip to content

feat: As a user, I want to to use the body-transformer plugin for other data formats without warnings #10681

Description

@jesse-r-s-hines

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.

Metadata

Metadata

Assignees

Type

No type

Projects

Status
✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions