code: private CaptureSearchResult adaptWARCHTTPResponse(CaptureSearchResult result,
  			WARCRecord rec) throws IOException {
  
  		ArchiveRecordHeader header = rec.getHeader();
  		// need to parse the documents HTTP message and headers here: WARCReader
  		// does not implement this... yet..
  		
          byte [] statusBytes = LaxHttpParser.readRawLine(rec);
          int eolCharCount = getEolCharsCount(statusBytes);
          if (eolCharCount <= 0) {
              throw new RecoverableIOException("Failed to read http status where one " +
                      " was expected: " + 
                      ((statusBytes == null) ? "(null)" : new String(statusBytes)));
          }
          String statusLine = EncodingUtil.getString(statusBytes, 0,
              statusBytes.length - eolCharCount, ARCConstants.DEFAULT_ENCODING);
          if ((statusLine == null) ||
                  !StatusLine.startsWithHTTP(statusLine)) {
             throw new RecoverableIOException("Failed parse of http status line.");
          }
          StatusLine status = new StatusLine(statusLine);
  		result.setHttpCode(String.valueOf(status.getStatusCode()));
          
  		Header[] headers = LaxHttpParser.parseHeaders(rec,
                  ARCConstants.DEFAULT_ENCODING);
  
  		
  		annotater.annotateHTTPContent(result,rec,headers,header.getMimetype());
  
  		return result;
  	}
docs: /*
  Currently the WARCReader doesn't parse HTTP headers. This method parses
  them then calls the common ARC/WARC shared record parsing code, which
  addresses HTTP headers, and possibly even parses HTML content to look
  for Robot Meta tags.