mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-19 00:00:14 +02:00
Update outdated Query extractor docs. (#891)
This commit is contained in:
@@ -37,8 +37,8 @@ use std::ops::Deref;
|
||||
/// # };
|
||||
/// ```
|
||||
///
|
||||
/// If the query string cannot be parsed it will reject the request with a `400
|
||||
/// Bad Request` response.
|
||||
/// If the query string cannot be parsed it will reject the request with a `422
|
||||
/// Unprocessable Entity` response.
|
||||
///
|
||||
/// For handling values being empty vs missing see the (query-params-with-empty-strings)[example]
|
||||
/// example.
|
||||
|
||||
Reference in New Issue
Block a user