Skip to content

Glossary: Rust in Practice

DefaultBodyLimit

Also written: body limit

Axum's cap on request body size, 2 MB by default, so huge uploads are refused with 413. A layer such as `DefaultBodyLimit::max(10_000_000)` raises it.

Where the book teaches it

Related terms

HTTP status codeslayer