mirror of
https://github.com/tokio-rs/axum.git
synced 2025-01-03 17:52:18 +01:00
Update outdated Query
extractor docs. (#891)
This commit is contained in:
parent
ffb6af7fed
commit
2e5d56a9b1
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue