Laodao
Laodao

Reputation: 1689

Where to find the conf for DropWizard embedded http server?

We have an application (Restful api) built using DropWizard. When we try to post with a body with size 906KB, it throws exception "413 Request Entity Too Large" error.

I googled around and see the solution seems to change the http server (ngix, apache) config to increase the allowed limit. Where can I find this config for the DropWizard embedded http server?

Thanks in advance.

Upvotes: 2

Views: 375

Answers (1)

joschi
joschi

Reputation: 13101

Dropwizard is using Jetty under the hood.

You can find a list of exposed configuration settings in the Dropwizard configuration reference in the "Connectors" category.

But as LutzHorn already mentioned in the comments, there's no default limit for the HTTP request size.

Upvotes: 1

Related Questions