// these are from this record.
assertEquals("statusCode", 200, res.getStatusCode());
assertEquals("content-type", ct, res.getHeader("Content-Type"));
StandardCharsetDetector csd = new StandardCharsetDetector();
// assuming WaybackRequest (3rd parameter) is not used in getCharset()
csd.getCharset(res, res, null);
res.close();
}