Skip to content

Commit

Permalink
Merge pull request #336 from internetarchive/revert-334-fixes-ftp-res…
Browse files Browse the repository at this point in the history
…ponse-record-builder

Revert "Warc convention for storing ftp responses has been to use a WARC reso…"
  • Loading branch information
ato committed Jun 1, 2020
2 parents 4763a8a + 947507b commit 812e96d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public WARCRecordInfo buildRecord(CrawlURI curi, URI concurrentTo) throws IOExce
recordInfo.addExtraHeader(HEADER_KEY_CONCURRENT_TO,
'<' + concurrentTo.toString() + '>');
}
recordInfo.setType(WARCRecordType.resource);
recordInfo.setType(WARCRecordType.response);
recordInfo.setUrl(curi.toString());
recordInfo.setCreate14DigitDate(timestamp);
recordInfo.setMimetype(curi.getContentType());
Expand Down

0 comments on commit 812e96d

Please sign in to comment.