This plugin is not compatible with Konnect
Block upstream responses whose body is greater than a specific size in megabytes.
Proxy consumers will receive an HTTP Status of 413 and message body “Response size limit exceeded” in the event the body is greater than configured size.
This plugin currently accomplishes response limiting by validating the Content-Length header on upstream responses.
If the upstream lacks the response header, then this plugin will allow the response to pass.
$ luarocks install kong-response-size-limiting
$ git clone https://github.com/Optum/kong-response-size-limiting.git /path/to/kong/plugins/kong-response-size-limiting
$ cd /path/to/kong/plugins/kong-response-size-limiting
$ luarocks make *.rockspec
Feel free to open issues, or refer to our Contribution Guidelines if you have any questions.