Ignore:
Timestamp:
Nov 12, 2008, 3:07:08 PM (11 years ago)
Author:
julian.reschke@…
Message:

start adding BWS/OWS/RWS (related to #36)

File:
1 edited

Legend:

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

    r352 r353  
    954954<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="transfer-coding"/><iref primary="true" item="Grammar" subitem="transfer-extension"/>
    955955  <x:ref>transfer-coding</x:ref>         = "chunked" / <x:ref>transfer-extension</x:ref>
    956   <x:ref>transfer-extension</x:ref>      = <x:ref>token</x:ref> *( ";" <x:ref>parameter</x:ref> )
     956  <x:ref>transfer-extension</x:ref>      = <x:ref>token</x:ref> *( OWS ";" OWS <x:ref>parameter</x:ref> )
    957957</artwork></figure>
    958958<t anchor="rule.parameter">
     
    963963</t>
    964964<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="parameter"/><iref primary="true" item="Grammar" subitem="attribute"/><iref primary="true" item="Grammar" subitem="value"/>
    965   <x:ref>parameter</x:ref>               = <x:ref>attribute</x:ref> "=" <x:ref>value</x:ref>
     965  <x:ref>parameter</x:ref>               = <x:ref>attribute</x:ref> BWS "=" BWS <x:ref>value</x:ref>
    966966  <x:ref>attribute</x:ref>               = <x:ref>token</x:ref>
    967967  <x:ref>value</x:ref>                   = <x:ref>token</x:ref> / <x:ref>quoted-string</x:ref>
     
    10311031                   <x:ref>CRLF</x:ref>
    10321032 
    1033   <x:ref>chunk</x:ref>          = <x:ref>chunk-size</x:ref> [ <x:ref>chunk-ext</x:ref> ] <x:ref>CRLF</x:ref>
     1033  <x:ref>chunk</x:ref>          = <x:ref>chunk-size</x:ref> *WSP [ <x:ref>chunk-ext</x:ref> ] <x:ref>CRLF</x:ref>
    10341034                   <x:ref>chunk-data</x:ref> <x:ref>CRLF</x:ref>
    10351035  <x:ref>chunk-size</x:ref>     = 1*<x:ref>HEXDIG</x:ref>
    1036   <x:ref>last-chunk</x:ref>     = 1*("0") [ <x:ref>chunk-ext</x:ref> ] <x:ref>CRLF</x:ref>
     1036  <x:ref>last-chunk</x:ref>     = 1*("0") *WSP [ <x:ref>chunk-ext</x:ref> ] <x:ref>CRLF</x:ref>
    10371037 
    1038   <x:ref>chunk-ext</x:ref>      = *( ";" <x:ref>chunk-ext-name</x:ref> [ "=" <x:ref>chunk-ext-val</x:ref> ] )
     1038  <x:ref>chunk-ext</x:ref>      = *( ";" *WSP <x:ref>chunk-ext-name</x:ref> [ "=" <x:ref>chunk-ext-val</x:ref> ] *WSP )
    10391039  <x:ref>chunk-ext-name</x:ref> = <x:ref>token</x:ref>
    10401040  <x:ref>chunk-ext-val</x:ref>  = <x:ref>token</x:ref> / <x:ref>quoted-string</x:ref>
     
    12101210                   ; of <x:ref>token</x:ref>, <x:ref>separators</x:ref>, and <x:ref>quoted-string</x:ref>
    12111211</artwork></figure>
     1212<t>
     1213  <cref>whitespace between field-name and colon is an error and MUST NOT be accepted</cref>
     1214</t>
    12121215<t>
    12131216   The field-content does not include any leading or trailing LWS:
     
    25142517</t>
    25152518<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Via"/><iref primary="true" item="Grammar" subitem="received-protocol"/><iref primary="true" item="Grammar" subitem="protocol-name"/><iref primary="true" item="Grammar" subitem="protocol-version"/><iref primary="true" item="Grammar" subitem="received-by"/><iref primary="true" item="Grammar" subitem="pseudonym"/>
    2516   <x:ref>Via</x:ref> =  "Via" ":" 1#( <x:ref>received-protocol</x:ref> <x:ref>received-by</x:ref> [ <x:ref>comment</x:ref> ] )
     2519  <x:ref>Via</x:ref> =  "Via" ":" 1#( <x:ref>received-protocol</x:ref> <x:ref>RWS</x:ref> <x:ref>received-by</x:ref> [ <x:ref>RWS</x:ref> <x:ref>comment</x:ref> ] )
    25172520  <x:ref>received-protocol</x:ref> = [ <x:ref>protocol-name</x:ref> "/" ] <x:ref>protocol-version</x:ref>
    25182521  <x:ref>protocol-name</x:ref>     = <x:ref>token</x:ref>
Note: See TracChangeset for help on using the changeset viewer.