(response: &[u8])
| 284 | |
| 285 | #[cfg(unix)] |
| 286 | fn http_response_is_success(response: &[u8]) -> bool { |
| 287 | response.starts_with(b"HTTP/1.1 200") || response.starts_with(b"HTTP/1.0 200") |
| 288 | } |
| 289 | |
| 290 | #[cfg(unix)] |
| 291 | fn contains_ascii(haystack: &[u8], needle: &[u8]) -> bool { |
no outgoing calls
no test coverage detected