Skip to main content

status_text

Function status_text 

Source
pub fn status_text(code: u16) -> &'static str
Expand description

Return the canonical reason phrase for a status code, or "" if unknown. Mirrors Go’s http.StatusText.