Skip to main content

pre_route_rejection

Function pre_route_rejection 

Source
fn pre_route_rejection(
    parsed: &ParsedBody,
    is_authorized: bool,
) -> Option<(u16, RequestLevelError)>
Expand description

The body parser runs before the credential check, so its failures win over a missing key.