Skip to main content

is_idempotent_target_method

Function is_idempotent_target_method 

Source
pub fn is_idempotent_target_method(method: &Method) -> bool
Expand description

Returns true if the HTTP method is one we’d guard with idempotency. We apply only to mutating verbs — GETs are already safely repeatable.