(self)
| 66 | } |
| 67 | |
| 68 | fn is_server_error(self) -> bool { |
| 69 | !matches!( |
| 70 | self, |
| 71 | StatusCode::Ok | StatusCode::Continue | StatusCode::NoContent |
| 72 | ) |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | fn get_header<'a>(res: &'a str, header: &'a str) -> Option<&'a str> { |
no outgoing calls
no test coverage detected