pub fn checked_get(agent: &Agent, url: &str) -> Result<Vec<u8>, Error>
Perform a GET request and check the response status.