Closed benoit74 closed 2 weeks ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 84.06%. Comparing base (
f85c8d8
) to head (5cb3a75
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Fix #313
Nota: there is no additional test because I failed to reproduce the issue with the crawler. In general, PDFs are retrieved with Direct Fetch by the crawler, and in such a case we do not have the
WARC-Resource-Type
header.This also explains why I did not encountered this situation during my tests before 2.0.1 release.
Under some condition Direct Fetch is not used by the crawler ... and we obviously encountered the situtation in production.