Skip to main content

payload_too_large

Function payload_too_large 

Source
pub fn payload_too_large() -> HttpResponse
Expand description

The canned 413 a request gets when its declared body or header block is larger than the server’s cap — a DEFINED “too large” refusal (distinct from the malformed 400) so a client can tell the two apart. Shared by both tiers. text/plain, body Payload Too Large.