Ignore:
Timestamp:
Apr 16, 2010, 4:49:52 AM (10 years ago)
Author:
julian.reschke@…
Message:

Introduce "word = token / quoted-string" into ABNF and use it throughout (see #200)

File:
1 edited

Legend:

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

    r809 r810  
    470470  <x:anchor-alias value="token"/>
    471471  <x:anchor-alias value="special"/>
     472  <x:anchor-alias value="word"/>
    472473   Many HTTP/1.1 header field values consist of words (token or quoted-string)
    473474   separated by whitespace or special characters. These special characters
     
    475476   in <xref target="transfer.codings"/>).
    476477</t>
    477 <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"/>
     478<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"/>
     479  <x:ref>word</x:ref>           = <x:ref>token</x:ref> / <x:ref>quoted-string</x:ref>
     480
    478481  <x:ref>token</x:ref>          = 1*<x:ref>tchar</x:ref>
    479482<!--
     
    18411844  <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>
    18421845  <x:ref>attribute</x:ref>               = <x:ref>token</x:ref>
    1843   <x:ref>value</x:ref>                   = <x:ref>token</x:ref> / <x:ref>quoted-string</x:ref>
     1846  <x:ref>value</x:ref>                   = <x:ref>word</x:ref>
    18441847</artwork></figure>
    18451848<t>
     
    29542957  <x:ref>t-codings</x:ref> = "trailers" / ( <x:ref>transfer-extension</x:ref> [ <x:ref>te-params</x:ref> ] )
    29552958  <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> )
    2956   <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> ) ]
     2959  <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> ]
    29572960</artwork></figure>
    29582961<t>
     
    50185021<x:ref>tchar</x:ref> = "!" / "#" / "$" / "%" / "&amp;" / "'" / "*" / "+" / "-" / "." /
    50195022 "^" / "_" / "`" / "|" / "~" / DIGIT / ALPHA
    5020 <x:ref>te-ext</x:ref> = OWS ";" OWS token [ "=" ( token / quoted-string ) ]
     5023<x:ref>te-ext</x:ref> = OWS ";" OWS token [ "=" word ]
    50215024<x:ref>te-params</x:ref> = OWS ";" OWS "q=" qvalue *te-ext
    50225025<x:ref>time-of-day</x:ref> = hour ":" minute ":" second
     
    50305033<x:ref>uri-host</x:ref> = &lt;host, defined in [RFC3986], Section 3.2.2&gt;
    50315034
    5032 <x:ref>value</x:ref> = token / quoted-string
     5035<x:ref>value</x:ref> = word
     5036
     5037<x:ref>word</x:ref> = token / quoted-string
    50335038
    50345039<x:ref>year</x:ref> = 4DIGIT
     
    55355540      "Case-sensitivity of HTTP-date"
    55365541    </t>
     5542    <t>
     5543      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/200"/>:
     5544      "use of term "word" when talking about header structure"
     5545    </t>
    55375546  </list>
    55385547</t>
Note: See TracChangeset for help on using the changeset viewer.