nitro icon indicating copy to clipboard operation
nitro copied to clipboard

Ability to specify request body size in supported runtimes.

Open Soulusions opened this issue 1 year ago • 1 comments

Describe the feature

Hello!

I was recently working on a project and ran into the admittedly nice issue of getting HTTP 413 errors with a Bun server, as it turns out, it has the maxRequestBodySize setting on 128MB by default, which I can easily change in the bundled server code, but not in the nitro config itself, which isn't exactly optimal.

I don't know exactly how many of the runtimes nitro supports let you configure this directly, but I'd be willing to help contribute to this feature!

Additional information

  • [X] Would you be willing to help implement this feature?

Soulusions avatar Feb 12 '24 11:02 Soulusions

Not having this option is quite limiting as you can't even utilise proxyRequest when the body is too large.

mathiasrando avatar Apr 23 '25 14:04 mathiasrando