RFC 7233, "Hypertext Transfer Protocol (HTTP/1.1): Range Requests", June 2014
Note: This RFC has been obsoleted by RFC 9110Source of RFC: httpbis (app)
Errata ID: 4681
Publication Format(s) : TEXT
Reported By: Kannan Goundan
Date Reported: 2016-04-29
Rejected by: Alexey Melnikov
Date Rejected: 2016-05-05
Section 2.1 says:
byte-range-set = 1#( byte-range-spec / suffix-byte-range-spec )
It should say:
byte-range-set = *( "," OWS ) ( byte-range-spec / suffix-byte-range-spec ) *( OWS "," [ OWS ( byte-range-spec / suffix-byte-range-spec ) ] )
The document contains two ABNF definitions for "byte-range-set". They appear in Section 2.1 "Byte Ranges" and Appendix D "Collected ABNF".
The two definitions are different. It seems like the definition in Appendix D is the correct one.
Alexey: As per comment from Julian: "Both are correct. See first sentence of Appendix D."