" <inside/>\n" +
"</payload>\n";
final byte[] recordBytes = TestWARCRecordInfo.buildHttpResponseBlock(
"200 OK", ct, payload.getBytes("UTF-8"), true);
//System.out.println(new String(recordBytes, "UTF-8"));
WARCRecordInfo recinfo = new TestWARCRecordInfo(recordBytes);
TestWARCReader ar = new TestWARCReader(recinfo);
WARCRecord rec = ar.get(0);
Resource payloadResource = new WarcResource(rec, ar);
payloadResource.parseHeaders();
Resource headersResource = payloadResource;