Skip to main content

classify_http_status

Function classify_http_status 

Source
pub fn classify_http_status(status: u16, body: &str) -> ErrorClass
Expand description

Classify an HTTP failure into the protocol’s retry classes.