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.
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_SIZEenv 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.