node-restify icon indicating copy to clipboard operation
node-restify copied to clipboard

Is restify.plugins.bodyParser's maxBodySize setting actually doing anything?

Open jurijus01 opened this issue 6 months ago • 0 comments

Restify Version: 11.1.0

Node.js Version: v20.11.0

Expected behaviour

It should pass bodies more than 2MB once maxBodySize is set to 15728640

Actual behaviour

It is not passing 12MB body or stringified data throwing error 413, regardless of Content-Type is "application/json" or "application/x-www-form-urlencoded" or "multipart/form-data"

jurijus01 avatar Feb 04 '24 13:02 jurijus01