source: draft-ietf-httpbis/latest/p3-payload.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: 4.3 KB
Line 
1<section title="Collected ABNF" anchor="collected.abnf">
2   <figure>
3      <artwork type="abnf" name="p3-payload.parsed-abnf">
4ALPHA = &lt;ALPHA, defined in [Part1], Section 1.2.2&gt;&#xD;
5Accept = "Accept:" OWS Accept-v&#xD;
6Accept-Charset = "Accept-Charset:" OWS Accept-Charset-v&#xD;
7Accept-Charset-v = *( "," OWS ) ( charset / "*" ) [ OWS ";" OWS "q="&#xD;
8 qvalue ] *( OWS "," [ OWS ( charset / "*" ) [ OWS ";" OWS "q="&#xD;
9 qvalue ] ] )&#xD;
10Accept-Encoding = "Accept-Encoding:" OWS Accept-Encoding-v&#xD;
11Accept-Encoding-v = [ ( "," / ( codings [ OWS ";" OWS "q=" qvalue ] )&#xD;
12 ) *( OWS "," [ OWS codings [ OWS ";" OWS "q=" qvalue ] ] ) ]&#xD;
13Accept-Language = "Accept-Language:" OWS Accept-Language-v&#xD;
14Accept-Language-v = *( "," OWS ) language-range [ OWS ";" OWS "q="&#xD;
15 qvalue ] *( OWS "," [ OWS language-range [ OWS ";" OWS "q=" qvalue ]&#xD;
16 ] )&#xD;
17Accept-v = [ ( "," / ( media-range [ accept-params ] ) ) *( OWS "," [&#xD;
18 OWS media-range [ accept-params ] ] ) ]&#xD;
19Content-Encoding = "Content-Encoding:" OWS Content-Encoding-v&#xD;
20Content-Encoding-v = *( "," OWS ) content-coding *( OWS "," [ OWS&#xD;
21 content-coding ] )&#xD;
22Content-Language = "Content-Language:" OWS Content-Language-v&#xD;
23Content-Language-v = *( "," OWS ) language-tag *( OWS "," [ OWS&#xD;
24 language-tag ] )&#xD;
25Content-Length = &lt;Content-Length, defined in [Part1], Section 8.2&gt;&#xD;
26Content-Location = "Content-Location:" OWS Content-Location-v&#xD;
27Content-Location-v = absolute-URI / partial-URI&#xD;
28Content-MD5 = "Content-MD5:" OWS Content-MD5-v&#xD;
29Content-MD5-v = &lt;base64 of 128 bit MD5 digest as per [RFC1864]&gt;&#xD;
30Content-Range = &lt;Content-Range, defined in [Part5], Section 6.2&gt;&#xD;
31Content-Type = "Content-Type:" OWS Content-Type-v&#xD;
32Content-Type-v = media-type&#xD;
33DIGIT = &lt;DIGIT, defined in [Part1], Section 1.2.2&gt;&#xD;
34Expires = &lt;Expires, defined in [Part6], Section 16.3&gt;&#xD;
35Last-Modified = &lt;Last-Modified, defined in [Part4], Section 7.6&gt;&#xD;
36MIME-Version = "MIME-Version:" OWS MIME-Version-v&#xD;
37MIME-Version-v = 1*DIGIT "." 1*DIGIT&#xD;
38OCTET = &lt;OCTET, defined in [Part1], Section 1.2.2&gt;&#xD;
39OWS = &lt;OWS, defined in [Part1], Section 1.2.2&gt;&#xD;
40absolute-URI = &lt;absolute-URI, defined in [Part1], Section 2.1&gt;&#xD;
41accept-ext = OWS ";" OWS token [ "=" ( token / quoted-string ) ]&#xD;
42accept-params = OWS ";" OWS "q=" qvalue *accept-ext&#xD;
43attribute = token&#xD;
44charset = token&#xD;
45codings = ( content-coding / "*" )&#xD;
46content-coding = token&#xD;
47content-disposition = "Content-Disposition:" OWS&#xD;
48 content-disposition-v&#xD;
49content-disposition-v = disposition-type *( OWS ";" OWS&#xD;
50 disposition-parm )&#xD;
51disp-extension-parm = token "=" ( token / quoted-string )&#xD;
52disp-extension-token = token&#xD;
53disposition-parm = filename-parm / disp-extension-parm&#xD;
54disposition-type = "attachment" / disp-extension-token&#xD;
55entity-body = *OCTET&#xD;
56entity-header = Content-Encoding / Content-Language / Content-Length&#xD;
57 / Content-Location / Content-MD5 / Content-Range / Content-Type /&#xD;
58 Expires / Last-Modified / extension-header&#xD;
59extension-header = message-header&#xD;
60filename-parm = "filename=" quoted-string&#xD;
61language-range = &lt;language-range, defined in [RFC4647], Section 2.1&gt;&#xD;
62language-tag = primary-tag *( "-" subtag )&#xD;
63media-range = ( "*/*" / ( type "/*" ) / ( type "/" subtype ) ) *( OWS&#xD;
64 ";" OWS parameter )&#xD;
65media-type = type "/" subtype *( OWS ";" OWS parameter )&#xD;
66message-header = &lt;message-header, defined in [Part1], Section 4.2&gt;&#xD;
67parameter = attribute "=" value&#xD;
68partial-URI = &lt;partial-URI, defined in [Part1], Section 2.1&gt;&#xD;
69primary-tag = 1*8ALPHA&#xD;
70quoted-string = &lt;quoted-string, defined in [Part1], Section 1.2.2&gt;&#xD;
71qvalue = ( "0" [ "." *3DIGIT ] ) / ( "1" [ "." *3"0" ] )&#xD;
72subtag = 1*8ALPHA&#xD;
73subtype = token&#xD;
74token = &lt;token, defined in [Part1], Section 1.2.2&gt;&#xD;
75type = token&#xD;
76value = token / quoted-string&#xD;
77; Accept defined but not used&#xD;
78; Accept-Charset defined but not used&#xD;
79; Accept-Encoding defined but not used&#xD;
80; Accept-Language defined but not used&#xD;
81; MIME-Version defined but not used&#xD;
82; content-disposition defined but not used&#xD;
83; entity-body defined but not used&#xD;
84; entity-header defined but not used&#xD;
85</artwork>
86   </figure>
87</section>
Note: See TracBrowser for help on using the repository browser.