* uncompressed, but chunked-encoded HTTP response.
* @throws Exception
*/
public void testPlainChunkedHttpRecord() throws Exception {
String payload = "hogehogehogehogehoge";
WARCRecordInfo recinfo = new TestWARCRecordInfo(
TestWARCRecordInfo.buildHttpResponseBlock("200 OK",
"text/plain", payload.getBytes("UTF-8"), true));
recinfo.setMimetype("text/plain");
TestARCReader ar = new TestARCReader(recinfo);
ARCRecord rec = ar.get(0);
ArcResource res = new ArcResource(rec, ar);
res.parseHeaders();