iipc / warc-specifications

Centralised repository for WARC usage specifications.
http://iipc.github.io/warc-specifications/
99 stars 30 forks source link

Example 'revisit' record has invalid HTTP version #37

Open ato opened 6 years ago

ato commented 6 years ago

From section 10.6 "Example of ‘revisit’ record":

HTTP/1.x 304 Not Modified

The string "HTTP/1.x" is an invalid HTTP-version per the grammar in RFC 7230:

HTTP-version = HTTP-name "/" DIGIT "." DIGIT

I realise the intent here is that x is a variable to illustrate version independence however I think it would be helpful to implementers attempting to test using the examples if they're strictly valid as is.