Skip to main content

v2_refuse_post_query

Function v2_refuse_post_query 

Source
pub(crate) async fn v2_refuse_post_query(req: Request, next: Next) -> Response
Expand description

A POST reads its whole request from the body, so the generated handler never looks at the query string. Refusing one keeps the rule that a misspelled parameter is a 400, not ignored.