No mention of 'resource' in list at verify_refers_to
RvanVeenendaal opened this issue · 2 comments
RvanVeenendaal commented
According to the WARC 1.0 and 1.1 specifications "[t]he WARC-Refers-To field shall not be used in ‘warcinfo’, ‘response’, ‘resource’, ‘request’, and ‘continuation’ records".
In warcat's source code, verify_refers_to does not mention 'resource'.
Is this a bug or a feature?
Line 359 in fb63a37
chfoo commented
Good catch, it's not supposed to be missing that one.
(As a FYI, this project was written based on the draft WARC 1.0 spec. I haven't updated the project since then, but in this case, I must have missed it by accident.)
billsargent commented
Is it enough to simply add in the missing 'resource'?