Skip to content

React to a 413 (Content too large) response #2732

Description

@peb-adr

As planned and currently done in OpenSlides/openslides-proxy#4 the proxy will start responding with 413 when request payloads exceed (per default 250M) in size.

The client should handle this appropriately.
Imo a short message a snack box should suffice.

Also we could include the REQUEST_BODY_MAX_SIZE env var to the client. This way the client can also communicate the current limit to the user.
Alternatively we might want to have a statically-served-by-the-proxy route to get the limit. This would have to advantage of having to only restart the proxy when changing the limit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions