Ignore:
Timestamp:
Nov 21, 2008, 12:25:09 PM (11 years ago)
Author:
julian.reschke@…
Message:

reference RFC5234 core rules directly, fix line end bug in appendix generation (related to #36)

File:
1 edited

Legend:

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

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