* WGs marked with an * asterisk has had at least one new draft made available during the last 5 days

Ticket #200: 200.diff

File 200.diff, 4.2 KB (added by julian.reschke@gmx.de, 5 years ago)

Proposed patch for part 1.

  • p1-messaging.xml

     
    467467  <x:anchor-alias value="tchar"/> 
    468468  <x:anchor-alias value="token"/> 
    469469  <x:anchor-alias value="special"/> 
    470    Many HTTP/1.1 header field values consist of words separated by whitespace 
    471    or special characters. These special characters &MUST; be in a quoted 
    472    string to be used within a parameter value (as defined in 
    473    <xref target="transfer.codings"/>). 
     470  <x:anchor-alias value="word"/> 
     471   Many HTTP/1.1 header field values consist of words (token or quoted-string) 
     472   separated by whitespace or special characters. These special characters 
     473   &MUST; be in a quoted string to be used within a parameter value (as defined 
     474   in <xref target="transfer.codings"/>). 
    474475</t> 
    475 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="token"/><iref primary="true" item="Grammar" subitem="tchar"/><iref primary="true" item="Grammar" subitem="special"/> 
     476<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="word"/><iref primary="true" item="Grammar" subitem="token"/><iref primary="true" item="Grammar" subitem="tchar"/><iref primary="true" item="Grammar" subitem="special"/> 
     477  <x:ref>word</x:ref>           = <x:ref>token</x:ref> / <x:ref>quoted-string</x:ref> 
     478 
    476479  <x:ref>token</x:ref>          = 1*<x:ref>tchar</x:ref> 
    477480<!-- 
    478481  IMPORTANT: when editing "tchar" make sure that "special" is updated accordingly!!! 
     
    18311834<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="transfer-parameter"/><iref primary="true" item="Grammar" subitem="attribute"/><iref primary="true" item="Grammar" subitem="value"/><iref primary="true" item="Grammar" subitem="date2"/><iref primary="true" item="Grammar" subitem="date3"/> 
    18321835  <x:ref>transfer-parameter</x:ref>      = <x:ref>attribute</x:ref> <x:ref>BWS</x:ref> "=" <x:ref>BWS</x:ref> <x:ref>value</x:ref> 
    18331836  <x:ref>attribute</x:ref>               = <x:ref>token</x:ref> 
    1834   <x:ref>value</x:ref>                   = <x:ref>token</x:ref> / <x:ref>quoted-string</x:ref> 
     1837  <x:ref>value</x:ref>                   = <x:ref>word</x:ref> 
    18351838</artwork></figure> 
    18361839<t> 
    18371840   All transfer-coding values are case-insensitive. HTTP/1.1 uses 
     
    28182821  <x:ref>TE-v</x:ref>      = #<x:ref>t-codings</x:ref> 
    28192822  <x:ref>t-codings</x:ref> = "trailers" / ( <x:ref>transfer-extension</x:ref> [ <x:ref>te-params</x:ref> ] ) 
    28202823  <x:ref>te-params</x:ref> = <x:ref>OWS</x:ref> ";" <x:ref>OWS</x:ref> "q=" <x:ref>qvalue</x:ref> *( <x:ref>te-ext</x:ref> ) 
    2821   <x:ref>te-ext</x:ref>    = <x:ref>OWS</x:ref> ";" <x:ref>OWS</x:ref> <x:ref>token</x:ref> [ "=" ( <x:ref>token</x:ref> / <x:ref>quoted-string</x:ref> ) ] 
     2824  <x:ref>te-ext</x:ref>    = <x:ref>OWS</x:ref> ";" <x:ref>OWS</x:ref> <x:ref>token</x:ref> [ "=" ( <x:ref>word</x:ref> ) ] 
    28222825</artwork></figure> 
    28232826<t> 
    28242827   The presence of the keyword "trailers" indicates that the client is 
     
    48694872<x:ref>t-codings</x:ref> = "trailers" / ( transfer-extension [ te-params ] ) 
    48704873<x:ref>tchar</x:ref> = "!" / "#" / "$" / "%" / "&amp;" / "'" / "*" / "+" / "-" / "." / 
    48714874 "^" / "_" / "`" / "|" / "~" / DIGIT / ALPHA 
    4872 <x:ref>te-ext</x:ref> = OWS ";" OWS token [ "=" ( token / quoted-string ) ] 
     4875<x:ref>te-ext</x:ref> = OWS ";" OWS token [ "=" word ] 
    48734876<x:ref>te-params</x:ref> = OWS ";" OWS "q=" qvalue *te-ext 
    48744877<x:ref>time-of-day</x:ref> = hour ":" minute ":" second 
    48754878<x:ref>token</x:ref> = 1*tchar 
     
    48814884 
    48824885<x:ref>uri-host</x:ref> = &lt;host, defined in [RFC3986], Section 3.2.2&gt; 
    48834886 
    4884 <x:ref>value</x:ref> = token / quoted-string 
     4887<x:ref>value</x:ref> = word 
    48854888 
     4889<x:ref>word</x:ref> = token / quoted-string 
     4890 
    48864891<x:ref>year</x:ref> = 4DIGIT 
    48874892</artwork> 
    48884893</figure> 
     
    53485353 
    53495354<section title="Since draft-ietf-httpbis-p1-messaging-08" anchor="changes.since.08"> 
    53505355<t> 
    5351   None yet. 
     5356  Closed issues: 
     5357  <list style="symbols">  
     5358    <t> 
     5359      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/200"/>: 
     5360      "use of term "word" when talking about header structure" 
     5361    </t> 
     5362  </list> 
    53525363</t> 
    53535364</section> 
    53545365