source: draft-ietf-httpbis/latest/p5-range.abnf.xml @ 420

Last change on this file since 420 was 420, checked in by julian.reschke@…, 11 years ago

add code and Makefile rules to generate ABNF appendix sections (related to #36)

File size: 2.1 KB
Line 
1<section title="Collected ABNF" anchor="collected.abnf">
2   <figure>
3      <artwork type="abnf" name="p5-range.parsed-abnf">
4Accept-Ranges = "Accept-Ranges:" OWS Accept-Ranges-v&#xD;
5Accept-Ranges-v = acceptable-ranges&#xD;
6CHAR = &lt;CHAR, defined in [Part1], Section 1.2.2&gt;&#xD;
7Content-Range = "Content-Range:" OWS Content-Range-v&#xD;
8Content-Range-v = content-range-spec&#xD;
9DIGIT = &lt;DIGIT, defined in [Part1], Section 1.2.2&gt;&#xD;
10HTTP-date = &lt;HTTP-date, defined in [Part1], Section 3.2.1&gt;&#xD;
11If-Range = "If-Range:" OWS If-Range-v&#xD;
12If-Range-v = entity-tag / HTTP-date&#xD;
13OWS = &lt;OWS, defined in [Part1], Section 1.2.2&gt;&#xD;
14Range = "Range:" ranges-specifier&#xD;
15SP = &lt;SP, defined in [Part1], Section 1.2.2&gt;&#xD;
16acceptable-ranges = ( *( "," OWS ) range-unit *( OWS "," [ OWS&#xD;
17 range-unit ] ) ) / "none"&#xD;
18byte-content-range-spec = bytes-unit SP byte-range-resp-spec "/" (&#xD;
19 instance-length / "*" )&#xD;
20byte-range-resp-spec = ( first-byte-pos "-" last-byte-pos ) / "*"&#xD;
21byte-range-set = ( *( "," OWS ) byte-range-spec ) / (&#xD;
22 suffix-byte-range-spec *( OWS "," [ ( OWS byte-range-spec ) /&#xD;
23 suffix-byte-range-spec ] ) )&#xD;
24byte-range-spec = first-byte-pos "-" [ last-byte-pos ]&#xD;
25byte-ranges-specifier = bytes-unit "=" byte-range-set&#xD;
26bytes-unit = "bytes"&#xD;
27content-range-spec = byte-content-range-spec /&#xD;
28 other-content-range-spec&#xD;
29entity-tag = &lt;entity-tag, defined in [Part4], Section 3&gt;&#xD;
30first-byte-pos = 1*DIGIT&#xD;
31instance-length = 1*DIGIT&#xD;
32last-byte-pos = 1*DIGIT&#xD;
33other-content-range-spec = other-range-unit SP other-range-resp-spec&#xD;
34other-range-resp-spec = *CHAR&#xD;
35other-range-unit = token&#xD;
36other-ranges-specifier = 1*CHAR&#xD;
37range-unit = bytes-unit / other-range-unit&#xD;
38ranges-specifier = byte-ranges-specifier / other-ranges-specifier&#xD;
39suffix-byte-range-spec = "-" suffix-length&#xD;
40suffix-length = 1*DIGIT&#xD;
41token = &lt;token, defined in [Part1], Section 1.2.2&gt;&#xD;
42; Accept-Ranges defined but not used&#xD;
43; Content-Range defined but not used&#xD;
44; If-Range defined but not used&#xD;
45; Range defined but not used&#xD;
46</artwork>
47   </figure>
48</section>
Note: See TracBrowser for help on using the repository browser.