RejectedSoftware Forums

Sign up

Request size too big

I need large file uploads, and get the following.

400 - Bad Request

Request size too big

Internal error information:
vibe.http.common.HTTPStatusException@../../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/http/server.d(1717): Request size too big

What is the simplest way for me to change the maximum request size permitted?

Maybe this is in the documentation, but I couldn't find it.

Re: Request size too big

On 2016-07-17 20:47, Carl Sturtivant wrote:

I need large file uploads, and get the following.

400 - Bad Request

Request size too big

Internal error information:
vibe.http.common.HTTPStatusException@../../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/http/server.d(1717): Request size too big

What is the simplest way for me to change the maximum request size permitted?

Maybe this is in the documentation, but I couldn't find it.

Here [1]. It mentions that it's not supported yet but it looks like that
is is supported in the code [2].

[1] http://vibed.org/api/vibe.http.server/HTTPServerSettings.maxRequestSize

[2]
https://github.com/rejectedsoftware/vibe.d/blob/master/source/vibe/http/server.d#L1743

/Jacob Carlborg

Re: Request size too big

On Sun, 17 Jul 2016 20:56:51 +0200, Jacob Carlborg wrote:

Here [1]. It mentions that it's not supported yet but it looks like that
is is supported in the code [2].

[1] http://vibed.org/api/vibe.http.server/HTTPServerSettings.maxRequestSize

[2]
https://github.com/rejectedsoftware/vibe.d/blob/master/source/vibe/http/server.d#L1743

/Jacob Carlborg

Many thanks! Works perfectly.

Re: Request size too big

Am 17.07.2016 um 20:56 schrieb Jacob Carlborg:

On 2016-07-17 20:47, Carl Sturtivant wrote:

I need large file uploads, and get the following.

400 - Bad Request

Request size too big

Internal error information:
vibe.http.common.HTTPStatusException@../../../.dub/packages/vibe-d-0.7.29/vibe-d/source/vibe/http/server.d(1717):
Request size too big

What is the simplest way for me to change the maximum request size
permitted?

Maybe this is in the documentation, but I couldn't find it.

Here [1]. It mentions that it's not supported yet but it looks like that
is is supported in the code [2].

[1] http://vibed.org/api/vibe.http.server/HTTPServerSettings.maxRequestSize

[2]
https://github.com/rejectedsoftware/vibe.d/blob/master/source/vibe/http/server.d#L1743

Removed the "not supported" notice.