Skip to main content

method_label

Function method_label 

Source
pub fn method_label(method: &str) -> &'static str
Expand description

Fold a request method to its bounded static label. The closed HTTP verb set maps to its canonical upper-case label; anything else collapses to OTHER_METHOD so a hostile/unknown verb cannot open a new series.