pub async fn check_status(resp: Response) -> Result<Response>Expand description
Validates a response’s status, turning a non-2xx status into
Error::Status (consuming the body for the error message).
pub async fn check_status(resp: Response) -> Result<Response>Validates a response’s status, turning a non-2xx status into
Error::Status (consuming the body for the error message).