Ignore:
Timestamp:
Nov 22, 2008, 10:21:16 AM (11 years ago)
Author:
julian.reschke@…
Message:

ABNF appendix: group by first letter, add internal links to definitions (related to #36)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis/latest/p1-messaging.xml

    r425 r427  
    43974397</section>
    43984398
    4399 <section title="Collected ABNF" anchor="collected.abnf">
    4400    <figure>
    4401       <artwork type="abnf" name="p1-messaging.parsed-abnf">
    4402 BWS = OWS
    4403 Cache-Control = &lt;Cache-Control, defined in [Part6], Section 15.4&gt;
    4404 Chunked-Body = *chunk last-chunk trailer-part CRLF
    4405 Connection = "Connection:" OWS Connection-v
    4406 Connection-v = *( "," OWS ) connection-token *( OWS "," [ OWS
     4399<section xmlns:x="http://purl.org/net/xml2rfc/ext" title="Collected ABNF" anchor="collected.abnf">
     4400<figure>
     4401<artwork type="abnf" name="p1-messaging.parsed-abnf">
     4402<x:ref>BWS</x:ref> = OWS
     4403
     4404<x:ref>Cache-Control</x:ref> = &lt;Cache-Control, defined in [Part6], Section 15.4&gt;
     4405<x:ref>Chunked-Body</x:ref> = *chunk last-chunk trailer-part CRLF
     4406<x:ref>Connection</x:ref> = "Connection:" OWS Connection-v
     4407<x:ref>Connection-v</x:ref> = *( "," OWS ) connection-token *( OWS "," [ OWS
    44074408 connection-token ] )
    4408 Content-Length = "Content-Length:" OWS 1*Content-Length-v
    4409 Content-Length-v = 1*DIGIT
    4410 Date = "Date:" OWS Date-v
    4411 Date-v = HTTP-date
     4409<x:ref>Content-Length</x:ref> = "Content-Length:" OWS 1*Content-Length-v
     4410<x:ref>Content-Length-v</x:ref> = 1*DIGIT
     4411
     4412<x:ref>Date</x:ref> = "Date:" OWS Date-v
     4413<x:ref>Date-v</x:ref> = HTTP-date
     4414
    44124415GMT = %x47.4D.54
    4413 HTTP-Prot-Name = %x48.54.54.50
    4414 HTTP-Version = HTTP-Prot-Name "/" 1*DIGIT "." 1*DIGIT
    4415 HTTP-date = rfc1123-date / obsolete-date
    4416 HTTP-message = Request / Response
    4417 Host = "Host:" OWS Host-v
    4418 Host-v = uri-host [ ":" port ]
    4419 Method = token
    4420 OWS = *( [ obs-fold ] WSP )
    4421 Pragma = &lt;Pragma, defined in [Part6], Section 15.4&gt;
    4422 RWS = 1*( [ obs-fold ] WSP )
    4423 Reason-Phrase = *( WSP / VCHAR / obs-text )
    4424 Request = Request-Line *( ( general-header / request-header /
     4416
     4417<x:ref>HTTP-Prot-Name</x:ref> = %x48.54.54.50
     4418<x:ref>HTTP-Version</x:ref> = HTTP-Prot-Name "/" 1*DIGIT "." 1*DIGIT
     4419<x:ref>HTTP-date</x:ref> = rfc1123-date / obsolete-date
     4420<x:ref>HTTP-message</x:ref> = Request / Response
     4421<x:ref>Host</x:ref> = "Host:" OWS Host-v
     4422<x:ref>Host-v</x:ref> = uri-host [ ":" port ]
     4423
     4424<x:ref>Method</x:ref> = token
     4425
     4426<x:ref>OWS</x:ref> = *( [ obs-fold ] WSP )
     4427
     4428<x:ref>Pragma</x:ref> = &lt;Pragma, defined in [Part6], Section 15.4&gt;
     4429
     4430<x:ref>RWS</x:ref> = 1*( [ obs-fold ] WSP )
     4431<x:ref>Reason-Phrase</x:ref> = *( WSP / VCHAR / obs-text )
     4432<x:ref>Request</x:ref> = Request-Line *( ( general-header / request-header /
    44254433 entity-header ) CRLF ) CRLF [ message-body ]
    4426 Request-Line = Method SP request-target SP HTTP-Version CRLF
    4427 Response = Status-Line *( ( general-header / response-header /
     4434<x:ref>Request-Line</x:ref> = Method SP request-target SP HTTP-Version CRLF
     4435<x:ref>Response</x:ref> = Status-Line *( ( general-header / response-header /
    44284436 entity-header ) CRLF ) CRLF [ message-body ]
    4429 Status-Code = 3DIGIT
    4430 Status-Line = HTTP-Version SP Status-Code SP Reason-Phrase CRLF
    4431 TE = "TE:" OWS TE-v
    4432 TE-v = [ ( "," / t-codings ) *( OWS "," [ OWS t-codings ] ) ]
    4433 Trailer = "Trailer:" OWS Trailer-v
    4434 Trailer-v = *( "," OWS ) field-name *( OWS "," [ OWS field-name ] )
    4435 Transfer-Encoding = "Transfer-Encoding:" OWS Transfer-Encoding-v
    4436 Transfer-Encoding-v = *( "," OWS ) transfer-coding *( OWS "," [ OWS
     4437<x:ref>Status-Code</x:ref> = 3DIGIT
     4438<x:ref>Status-Line</x:ref> = HTTP-Version SP Status-Code SP Reason-Phrase CRLF
     4439
     4440<x:ref>TE</x:ref> = "TE:" OWS TE-v
     4441<x:ref>TE-v</x:ref> = [ ( "," / t-codings ) *( OWS "," [ OWS t-codings ] ) ]
     4442<x:ref>Trailer</x:ref> = "Trailer:" OWS Trailer-v
     4443<x:ref>Trailer-v</x:ref> = *( "," OWS ) field-name *( OWS "," [ OWS field-name ] )
     4444<x:ref>Transfer-Encoding</x:ref> = "Transfer-Encoding:" OWS Transfer-Encoding-v
     4445<x:ref>Transfer-Encoding-v</x:ref> = *( "," OWS ) transfer-coding *( OWS "," [ OWS
    44374446 transfer-coding ] )
    4438 URI = &lt;URI, defined in [RFC3986], Section 3&gt;
    4439 URI-reference = &lt;URI-reference, defined in [RFC3986], Section 4.1&gt;
    4440 Upgrade = "Upgrade:" OWS Upgrade-v
    4441 Upgrade-v = *( "," OWS ) product *( OWS "," [ OWS product ] )
    4442 Via = "Via:" OWS Via-v
    4443 Via-v = *( "," OWS ) received-protocol RWS received-by [ RWS comment
     4447<x:ref>URI</x:ref> = &lt;URI, defined in [RFC3986], Section 3&gt;
     4448<x:ref>URI-reference</x:ref> = &lt;URI-reference, defined in [RFC3986], Section 4.1&gt;
     4449<x:ref>Upgrade</x:ref> = "Upgrade:" OWS Upgrade-v
     4450<x:ref>Upgrade-v</x:ref> = *( "," OWS ) product *( OWS "," [ OWS product ] )
     4451
     4452<x:ref>Via</x:ref> = "Via:" OWS Via-v
     4453<x:ref>Via-v</x:ref> = *( "," OWS ) received-protocol RWS received-by [ RWS comment
    44444454 ] *( OWS "," [ OWS received-protocol RWS received-by [ RWS comment ]
    44454455 ] )
    4446 Warning = &lt;Warning, defined in [Part6], Section 15.6&gt;
    4447 absolute-URI = &lt;absolute-URI, defined in [RFC3986], Section 4.3&gt;
    4448 accept-params = &lt;accept-params, defined in [Part3], Section 5.1&gt;
    4449 asctime-date = wkday SP date3 SP time SP 4DIGIT
    4450 attribute = token
    4451 authority = &lt;authority, defined in [RFC3986], Section 3.2&gt;
    4452 chunk = chunk-size *WSP [ chunk-ext ] CRLF chunk-data CRLF
    4453 chunk-data = 1*OCTET
    4454 chunk-ext = *( ";" *WSP chunk-ext-name [ "=" chunk-ext-val ] *WSP )
    4455 chunk-ext-name = token
    4456 chunk-ext-val = token / quoted-string
    4457 chunk-size = 1*HEXDIG
    4458 comment = "(" *( ctext / quoted-pair / comment ) ")"
    4459 connection-token = token
    4460 ctext = *( OWS / %x21-27 / %x2A-7E / obs-text )
    4461 date1 = 2DIGIT SP month SP 4DIGIT
    4462 date2 = 2DIGIT "-" month "-" 2DIGIT
    4463 date3 = month SP ( 2DIGIT / ( SP DIGIT ) )
    4464 entity-body = &lt;entity-body, defined in [Part3], Section 3.2&gt;
    4465 entity-header = &lt;entity-header, defined in [Part3], Section 3.1&gt;
    4466 field-content = *( WSP / VCHAR / obs-text )
    4467 field-name = token
    4468 field-value = *( field-content / OWS )
    4469 fragment = &lt;fragment, defined in [RFC3986], Section 3.5&gt;
    4470 general-header = Cache-Control / Connection / Date / Pragma / Trailer
     4456<x:ref>Warning</x:ref> = &lt;Warning, defined in [Part6], Section 15.6&gt;
     4457
     4458<x:ref>absolute-URI</x:ref> = &lt;absolute-URI, defined in [RFC3986], Section 4.3&gt;
     4459<x:ref>accept-params</x:ref> = &lt;accept-params, defined in [Part3], Section 5.1&gt;
     4460<x:ref>asctime-date</x:ref> = wkday SP date3 SP time SP 4DIGIT
     4461<x:ref>attribute</x:ref> = token
     4462<x:ref>authority</x:ref> = &lt;authority, defined in [RFC3986], Section 3.2&gt;
     4463
     4464<x:ref>chunk</x:ref> = chunk-size *WSP [ chunk-ext ] CRLF chunk-data CRLF
     4465<x:ref>chunk-data</x:ref> = 1*OCTET
     4466<x:ref>chunk-ext</x:ref> = *( ";" *WSP chunk-ext-name [ "=" chunk-ext-val ] *WSP )
     4467<x:ref>chunk-ext-name</x:ref> = token
     4468<x:ref>chunk-ext-val</x:ref> = token / quoted-string
     4469<x:ref>chunk-size</x:ref> = 1*HEXDIG
     4470<x:ref>comment</x:ref> = "(" *( ctext / quoted-pair / comment ) ")"
     4471<x:ref>connection-token</x:ref> = token
     4472<x:ref>ctext</x:ref> = *( OWS / %x21-27 / %x2A-7E / obs-text )
     4473
     4474<x:ref>date1</x:ref> = 2DIGIT SP month SP 4DIGIT
     4475<x:ref>date2</x:ref> = 2DIGIT "-" month "-" 2DIGIT
     4476<x:ref>date3</x:ref> = month SP ( 2DIGIT / ( SP DIGIT ) )
     4477
     4478<x:ref>entity-body</x:ref> = &lt;entity-body, defined in [Part3], Section 3.2&gt;
     4479<x:ref>entity-header</x:ref> = &lt;entity-header, defined in [Part3], Section 3.1&gt;
     4480
     4481<x:ref>field-content</x:ref> = *( WSP / VCHAR / obs-text )
     4482<x:ref>field-name</x:ref> = token
     4483<x:ref>field-value</x:ref> = *( field-content / OWS )
     4484<x:ref>fragment</x:ref> = &lt;fragment, defined in [RFC3986], Section 3.5&gt;
     4485
     4486<x:ref>general-header</x:ref> = Cache-Control / Connection / Date / Pragma / Trailer
    44714487 / Transfer-Encoding / Upgrade / Via / Warning
    4472 generic-message = start-line *( message-header CRLF ) CRLF [
     4488<x:ref>generic-message</x:ref> = start-line *( message-header CRLF ) CRLF [
    44734489 message-body ]
    4474 http-URI = "http://" authority path-abempty [ "?" query ]
     4490<x:ref>http-URI</x:ref> = "http://" authority path-abempty [ "?" query ]
     4491
    44754492l-Fri = %x46.72.69.64.61.79
    44764493l-Mon = %x4D.6F.6E.64.61.79
     
    44804497l-Tue = %x54.75.65.73.64.61.79
    44814498l-Wed = %x57.65.64.6E.65.73.64.61.79
    4482 last-chunk = 1*"0" *WSP [ chunk-ext ] CRLF
    4483 message-body = entity-body / &lt;entity-body encoded as per
     4499<x:ref>last-chunk</x:ref> = 1*"0" *WSP [ chunk-ext ] CRLF
     4500
     4501<x:ref>message-body</x:ref> = entity-body / &lt;entity-body encoded as per
    44844502 Transfer-Encoding&gt;
    4485 message-header = field-name ":" OWS [ field-value ] OWS
    4486 month = s-Jan / s-Feb / s-Mar / s-Apr / s-May / s-Jun / s-Jul / s-Aug
     4503<x:ref>message-header</x:ref> = field-name ":" OWS [ field-value ] OWS
     4504<x:ref>month</x:ref> = s-Jan / s-Feb / s-Mar / s-Apr / s-May / s-Jun / s-Jul / s-Aug
    44874505 / s-Sep / s-Oct / s-Nov / s-Dec
    4488 obs-fold = CRLF
    4489 obs-text = %x80-FF
    4490 obsolete-date = rfc850-date / asctime-date
    4491 parameter = attribute BWS "=" BWS value
    4492 partial-URI = relative-part [ "?" query ]
    4493 path-abempty = &lt;path-abempty, defined in [RFC3986], Section 3.3&gt;
    4494 path-absolute = &lt;path-absolute, defined in [RFC3986], Section 3.3&gt;
    4495 port = &lt;port, defined in [RFC3986], Section 3.2.3&gt;
    4496 product = token [ "/" product-version ]
    4497 product-version = token
    4498 protocol-name = token
    4499 protocol-version = token
    4500 pseudonym = token
    4501 qdtext = *( OWS / "!" / %x23-5B / %x5D-7E / obs-text )
    4502 query = &lt;query, defined in [RFC3986], Section 3.4&gt;
    4503 quoted-pair = "\" quoted-text
    4504 quoted-string = DQUOTE *( qdtext / quoted-pair ) DQUOTE
    4505 quoted-text = %x01-09 / %x0B-0C / %x0E-FF
    4506 received-by = ( uri-host [ ":" port ] ) / pseudonym
    4507 received-protocol = [ protocol-name "/" ] protocol-version
    4508 relative-part = &lt;relative-part, defined in [RFC3986], Section 4.2&gt;
    4509 request-header = &lt;request-header, defined in [Part2], Section 3&gt;
    4510 request-target = "*" / absolute-URI / ( path-absolute [ "?" query ] )
     4506<x:ref>obs-fold</x:ref> = CRLF
     4507<x:ref>obs-text</x:ref> = %x80-FF
     4508<x:ref>obsolete-date</x:ref> = rfc850-date / asctime-date
     4509
     4510<x:ref>parameter</x:ref> = attribute BWS "=" BWS value
     4511<x:ref>partial-URI</x:ref> = relative-part [ "?" query ]
     4512<x:ref>path-abempty</x:ref> = &lt;path-abempty, defined in [RFC3986], Section 3.3&gt;
     4513<x:ref>path-absolute</x:ref> = &lt;path-absolute, defined in [RFC3986], Section 3.3&gt;
     4514<x:ref>port</x:ref> = &lt;port, defined in [RFC3986], Section 3.2.3&gt;
     4515<x:ref>product</x:ref> = token [ "/" product-version ]
     4516<x:ref>product-version</x:ref> = token
     4517<x:ref>protocol-name</x:ref> = token
     4518<x:ref>protocol-version</x:ref> = token
     4519<x:ref>pseudonym</x:ref> = token
     4520
     4521<x:ref>qdtext</x:ref> = *( OWS / "!" / %x23-5B / %x5D-7E / obs-text )
     4522<x:ref>query</x:ref> = &lt;query, defined in [RFC3986], Section 3.4&gt;
     4523<x:ref>quoted-pair</x:ref> = "\" quoted-text
     4524<x:ref>quoted-string</x:ref> = DQUOTE *( qdtext / quoted-pair ) DQUOTE
     4525<x:ref>quoted-text</x:ref> = %x01-09 / %x0B-0C / %x0E-FF
     4526
     4527<x:ref>received-by</x:ref> = ( uri-host [ ":" port ] ) / pseudonym
     4528<x:ref>received-protocol</x:ref> = [ protocol-name "/" ] protocol-version
     4529<x:ref>relative-part</x:ref> = &lt;relative-part, defined in [RFC3986], Section 4.2&gt;
     4530<x:ref>request-header</x:ref> = &lt;request-header, defined in [Part2], Section 3&gt;
     4531<x:ref>request-target</x:ref> = "*" / absolute-URI / ( path-absolute [ "?" query ] )
    45114532 / authority
    4512 response-header = &lt;response-header, defined in [Part2], Section 5&gt;
    4513 rfc1123-date = wkday "," SP date1 SP time SP GMT
    4514 rfc850-date = weekday "," SP date2 SP time SP GMT
     4533<x:ref>response-header</x:ref> = &lt;response-header, defined in [Part2], Section 5&gt;
     4534<x:ref>rfc1123-date</x:ref> = wkday "," SP date1 SP time SP GMT
     4535<x:ref>rfc850-date</x:ref> = weekday "," SP date2 SP time SP GMT
     4536
    45154537s-Apr = %x41.70.72
    45164538s-Aug = %x41.75.67
     
    45324554s-Tue = %x54.75.65
    45334555s-Wed = %x57.65.64
    4534 start-line = Request-Line / Status-Line
    4535 t-codings = "trailers" / ( transfer-extension [ accept-params ] )
    4536 tchar = "!" / "#" / "$" / "%" / "&amp;" / "'" / "*" / "+" / "-" / "." /
     4556<x:ref>start-line</x:ref> = Request-Line / Status-Line
     4557
     4558<x:ref>t-codings</x:ref> = "trailers" / ( transfer-extension [ accept-params ] )
     4559<x:ref>tchar</x:ref> = "!" / "#" / "$" / "%" / "&amp;" / "'" / "*" / "+" / "-" / "." /
    45374560 "^" / "_" / "`" / "|" / "~" / DIGIT / ALPHA
    4538 time = 2DIGIT ":" 2DIGIT ":" 2DIGIT
    4539 token = 1*tchar
    4540 trailer-part = *( entity-header CRLF )
    4541 transfer-coding = "chunked" / transfer-extension
    4542 transfer-extension = token *( OWS ";" OWS parameter )
    4543 uri-host = &lt;host, defined in [RFC3986], Section 3.2.2&gt;
    4544 value = token / quoted-string
    4545 weekday = l-Mon / l-Tue / l-Wed / l-Thu / l-Fri / l-Sat / l-Sun
    4546 wkday = s-Mon / s-Tue / s-Wed / s-Thu / s-Fri / s-Sat / s-Sun
     4561<x:ref>time</x:ref> = 2DIGIT ":" 2DIGIT ":" 2DIGIT
     4562<x:ref>token</x:ref> = 1*tchar
     4563<x:ref>trailer-part</x:ref> = *( entity-header CRLF )
     4564<x:ref>transfer-coding</x:ref> = "chunked" / transfer-extension
     4565<x:ref>transfer-extension</x:ref> = token *( OWS ";" OWS parameter )
     4566
     4567<x:ref>uri-host</x:ref> = &lt;host, defined in [RFC3986], Section 3.2.2&gt;
     4568
     4569<x:ref>value</x:ref> = token / quoted-string
     4570
     4571<x:ref>weekday</x:ref> = l-Mon / l-Tue / l-Wed / l-Thu / l-Fri / l-Sat / l-Sun
     4572<x:ref>wkday</x:ref> = s-Mon / s-Tue / s-Wed / s-Thu / s-Fri / s-Sat / s-Sun
     4573
    45474574; Chunked-Body defined but not used
    45484575; Content-Length defined but not used
     
    45564583; http-URI defined but not used
    45574584; partial-URI defined but not used
     4585
     4586
    45584587</artwork>
    4559    </figure>
     4588</figure>
    45604589</section>
    45614590
Note: See TracChangeset for help on using the changeset viewer.