Clarify body extractors

This commit is contained in:
David Pedersen
2021-07-10 23:46:14 +02:00
parent 62da1eac00
commit 341ad61240
2 changed files with 7 additions and 0 deletions
+3
View File
@@ -92,6 +92,9 @@
//! # };
//! ```
//!
//! Note that only one extractor can consume the request body. If multiple body extractors are
//! applied a `500 Internal Server Error` response will be returned.
//!
//! # Optional extractors
//!
//! Wrapping extractors in `Option` will make them optional: