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

Ticket #200: i200.diff

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

ABNF change for Parts 1 and 3

  • p1-messaging.xml

     
    469469  <x:anchor-alias value="tchar"/> 
    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 
    474475   &MUST; be in a quoted string to be used within a parameter value (as defined 
    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<!-- 
    480483  IMPORTANT: when editing "tchar" make sure that "special" is updated accordingly!!! 
     
    18371840<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"/> 
    18381841  <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> 
    18391842  <x:ref>attribute</x:ref>               = <x:ref>token</x:ref> 
    1840   <x:ref>value</x:ref>                   = <x:ref>token</x:ref> / <x:ref>quoted-string</x:ref> 
     1843  <x:ref>value</x:ref>                   = <x:ref>word</x:ref> 
    18411844</artwork></figure> 
    18421845<t> 
    18431846   All transfer-coding values are case-insensitive. HTTP/1.1 uses 
     
    29502953  <x:ref>TE-v</x:ref>      = #<x:ref>t-codings</x:ref> 
    29512954  <x:ref>t-codings</x:ref> = "trailers" / ( <x:ref>transfer-extension</x:ref> [ <x:ref>te-params</x:ref> ] ) 
    29522955  <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> ) 
    2953   <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> ) ] 
     2956  <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> ] 
    29542957</artwork></figure> 
    29552958<t> 
    29562959   The presence of the keyword "trailers" indicates that the client is 
     
    50145017<x:ref>t-codings</x:ref> = "trailers" / ( transfer-extension [ te-params ] ) 
    50155018<x:ref>tchar</x:ref> = "!" / "#" / "$" / "%" / "&amp;" / "'" / "*" / "+" / "-" / "." / 
    50165019 "^" / "_" / "`" / "|" / "~" / DIGIT / ALPHA 
    5017 <x:ref>te-ext</x:ref> = OWS ";" OWS token [ "=" ( token / quoted-string ) ] 
     5020<x:ref>te-ext</x:ref> = OWS ";" OWS token [ "=" word ] 
    50185021<x:ref>te-params</x:ref> = OWS ";" OWS "q=" qvalue *te-ext 
    50195022<x:ref>time-of-day</x:ref> = hour ":" minute ":" second 
    50205023<x:ref>token</x:ref> = 1*tchar 
     
    50265029 
    50275030<x:ref>uri-host</x:ref> = &lt;host, defined in [RFC3986], Section 3.2.2&gt; 
    50285031 
    5029 <x:ref>value</x:ref> = token / quoted-string 
     5032<x:ref>value</x:ref> = word 
    50305033 
     5034<x:ref>word</x:ref> = token / quoted-string 
     5035 
    50315036<x:ref>year</x:ref> = 4DIGIT 
    50325037</artwork> 
    50335038</figure> 
     
    55315536      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/165"/>: 
    55325537      "Case-sensitivity of HTTP-date" 
    55335538    </t> 
     5539    <t> 
     5540      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/200"/>: 
     5541      "use of term "word" when talking about header structure" 
     5542    </t> 
    55345543  </list> 
    55355544</t> 
    55365545</section> 
  • p3-payload.xml

     
    341341<section title="Core Rules" anchor="core.rules"> 
    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> 
    346347  The core rules below are defined in &basic-rules;: 
     
    348349<figure><artwork type="abnf2616"> 
    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> 
    353355</section> 
     
    577579<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"/> 
    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> 
    583585   The type, subtype, and parameter attribute names are case-insensitive. 
     
    9991001                   ) *( <x:ref>OWS</x:ref> ";" <x:ref>OWS</x:ref> <x:ref>parameter</x:ref> ) 
    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> 
    10051007   The asterisk "*" character is used to group media types into ranges, 
     
    26822684  <x:ref>disposition-parm</x:ref> = <x:ref>filename-parm</x:ref> / <x:ref>disp-extension-parm</x:ref> 
    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> 
    26882690   An example is 
     
    28032805<x:ref>OWS</x:ref> = &lt;OWS, defined in [Part1], Section 1.2.2&gt; 
    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 
    28092811 
     
    28152817<x:ref>content-disposition-v</x:ref> = disposition-type *( OWS ";" OWS 
    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 
    28212823<x:ref>disposition-type</x:ref> = "attachment" / disp-extension-token 
     
    28482850<x:ref>token</x:ref> = &lt;token, defined in [Part1], Section 1.2.2&gt; 
    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> 
    28542858<figure><preamble>ABNF diagnostics:</preamble><artwork type="inline"> 
     
    31393143      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/143"/>: 
    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> 
    31443152</section>