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/p3-payload.xml

    r808 r810  
    342342  <x:anchor-alias value="quoted-string"/>
    343343  <x:anchor-alias value="token"/>
     344  <x:anchor-alias value="word"/>
    344345  <x:anchor-alias value="OWS"/>
    345346<t>
     
    349350  <x:ref>quoted-string</x:ref>  = &lt;quoted-string, defined in &basic-rules;&gt;
    350351  <x:ref>token</x:ref>          = &lt;token, defined in &basic-rules;&gt;
     352  <x:ref>word</x:ref>           = &lt;word, defined in &basic-rules;&gt;
    351353  <x:ref>OWS</x:ref>            = &lt;OWS, defined in &basic-rules;&gt;
    352354</artwork></figure>
     
    578580  <x:ref>parameter</x:ref>      = <x:ref>attribute</x:ref> "=" <x:ref>value</x:ref>
    579581  <x:ref>attribute</x:ref>      = <x:ref>token</x:ref>
    580   <x:ref>value</x:ref>          = <x:ref>token</x:ref> / <x:ref>quoted-string</x:ref>
     582  <x:ref>value</x:ref>          = <x:ref>word</x:ref>
    581583</artwork></figure>
    582584<t>
     
    10001002  <x:ref>accept-params</x:ref>  = <x:ref>OWS</x:ref> ";" <x:ref>OWS</x:ref> "q=" <x:ref>qvalue</x:ref> *( <x:ref>accept-ext</x:ref> )
    10011003  <x:ref>accept-ext</x:ref>     = <x:ref>OWS</x:ref> ";" <x:ref>OWS</x:ref> <x:ref>token</x:ref>
    1002                    [ "=" ( <x:ref>token</x:ref> / <x:ref>quoted-string</x:ref> ) ]
     1004                   [ "=" <x:ref>word</x:ref> ]
    10031005</artwork></figure>
    10041006<t>
     
    26832685  <x:ref>filename-parm</x:ref> = "filename" "=" <x:ref>quoted-string</x:ref>
    26842686  <x:ref>disp-extension-token</x:ref> = <x:ref>token</x:ref>
    2685   <x:ref>disp-extension-parm</x:ref> = <x:ref>token</x:ref> "=" ( <x:ref>token</x:ref> / <x:ref>quoted-string</x:ref> )
     2687  <x:ref>disp-extension-parm</x:ref> = <x:ref>token</x:ref> "=" <x:ref>word</x:ref>
    26862688</artwork></figure>
    26872689<t>
     
    28042806
    28052807<x:ref>absolute-URI</x:ref> = &lt;absolute-URI, defined in [Part1], Section 2.6&gt;
    2806 <x:ref>accept-ext</x:ref> = OWS ";" OWS token [ "=" ( token / quoted-string ) ]
     2808<x:ref>accept-ext</x:ref> = OWS ";" OWS token [ "=" word ]
    28072809<x:ref>accept-params</x:ref> = OWS ";" OWS "q=" qvalue *accept-ext
    28082810<x:ref>attribute</x:ref> = token
     
    28162818 disposition-parm )
    28172819
    2818 <x:ref>disp-extension-parm</x:ref> = token "=" ( token / quoted-string )
     2820<x:ref>disp-extension-parm</x:ref> = token "=" word
    28192821<x:ref>disp-extension-token</x:ref> = token
    28202822<x:ref>disposition-parm</x:ref> = filename-parm / disp-extension-parm
     
    28492851<x:ref>type</x:ref> = token
    28502852
    2851 <x:ref>value</x:ref> = token / quoted-string
     2853<x:ref>value</x:ref> = word
     2854
     2855<x:ref>word</x:ref> = &lt;word, defined in [Part1], Section 1.2.2&gt;
    28522856</artwork>
    28532857</figure>
     
    31403144      "IANA registry for content/transfer encodings"
    31413145    </t>
     3146    <t>
     3147      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/200"/>:
     3148      "use of term "word" when talking about header structure"
     3149    </t>
    31423150  </list>
    31433151</t>
Note: See TracChangeset for help on using the changeset viewer.