Parameters
See plugin common configurations for configuration options available to all plugins.
max_req_body_size
vaild vaule:
= 1
Maximum size in bytes of a compressed request body, applied both to the body as it arrives and to the decompressed result. A body beyond this size is rejected with
413. The limit is applied while decompressing, so an oversized payload is never buffered in full.The plugin does not read a request without a
Content-Encodingheader, so this limit does not apply to it. Use the gateway'sclient_max_body_sizesetting to limit uncompressed request bodies.Available in API7 Enterprise from version 3.10.9.
forward_compressed
If true, the upstream receives a compressed body instead of the decompressed one. The plugins that run before the request is proxied still read the decompressed body.
Available in API7 Enterprise from version 3.10.9.