Ignore:
Timestamp:
Nov 13, 2008, 10:53:12 AM (11 years ago)
Author:
julian.reschke@…
Message:

Rewrite header ABNFs to spell out whitespace rules, factor out value format definitions. (related to #36)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis/latest/p3-payload.xml

    r357 r366  
    932932</t>
    933933<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Accept"/><iref primary="true" item="Grammar" subitem="Accept-v"/><iref primary="true" item="Grammar" subitem="media-range"/><iref primary="true" item="Grammar" subitem="accept-params"/><iref primary="true" item="Grammar" subitem="accept-extension"/>
    934   <x:ref>Accept</x:ref>   = "Accept" BWS ":" OWS <x:ref>Accept-v</x:ref>
     934  <x:ref>Accept</x:ref>   = "Accept" ":" <x:ref>OWS</x:ref> <x:ref>Accept-v</x:ref>
    935935  <x:ref>Accept-v</x:ref> = #( <x:ref>media-range</x:ref> [ <x:ref>accept-params</x:ref> ] )
    936936 
     
    10551055</t>
    10561056<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Accept-Charset"/><iref primary="true" item="Grammar" subitem="Accept-Charset-v"/>
    1057   <x:ref>Accept-Charset</x:ref>   = "Accept-Charset" BWS ":" OWS
     1057  <x:ref>Accept-Charset</x:ref>   = "Accept-Charset" ":" <x:ref>OWS</x:ref>
    10581058          <x:ref>Accept-Charset-v</x:ref>
    10591059  <x:ref>Accept-Charset-v</x:ref> = 1#( ( <x:ref>charset</x:ref> / "*" ) [ ";" "q" "=" <x:ref>qvalue</x:ref> ] )
     
    10971097</t>
    10981098<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Accept-Encoding"/><iref primary="true" item="Grammar" subitem="Accept-Encoding-v"/><iref primary="true" item="Grammar" subitem="codings"/>
    1099   <x:ref>Accept-Encoding</x:ref>    = "Accept-Encoding" BWS ":" OWS
     1099  <x:ref>Accept-Encoding</x:ref>    = "Accept-Encoding" ":" <x:ref>OWS</x:ref>
    11001100                     <x:ref>Accept-Encoding-v</x:ref>
    11011101  <x:ref>Accept-Encoding-v</x:ref>  =
     
    11821182</t>
    11831183<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Accept-Language"/><iref primary="true" item="Grammar" subitem="Accept-Language-v"/><iref primary="true" item="Grammar" subitem="language-range"/>
    1184   <x:ref>Accept-Language</x:ref>   = "Accept-Language" BWS ":" OWS
     1184  <x:ref>Accept-Language</x:ref>   = "Accept-Language" ":" <x:ref>OWS</x:ref>
    11851185                    <x:ref>Accept-Language-v</x:ref>
    11861186  <x:ref>Accept-Language-v</x:ref> =
     
    12781278</t>
    12791279<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Content-Encoding"/><iref primary="true" item="Grammar" subitem="Content-Encoding-v"/>
    1280   <x:ref>Content-Encoding</x:ref>   = "Content-Encoding" BWS ":" OWS <x:ref>Content-Encoding-v</x:ref>
     1280  <x:ref>Content-Encoding</x:ref>   = "Content-Encoding" ":" <x:ref>OWS</x:ref> <x:ref>Content-Encoding-v</x:ref>
    12811281  <x:ref>Content-Encoding-v</x:ref> = 1#<x:ref>content-coding</x:ref>
    12821282</artwork></figure>
     
    13251325</t>
    13261326<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Content-Language"/><iref primary="true" item="Grammar" subitem="Content-Language-v"/>
    1327   <x:ref>Content-Language</x:ref>   = "Content-Language" BWS ":" OWS <x:ref>Content-Language-v</x:ref>
     1327  <x:ref>Content-Language</x:ref>   = "Content-Language" ":" <x:ref>OWS</x:ref> <x:ref>Content-Language-v</x:ref>
    13281328  <x:ref>Content-Language-v</x:ref> = 1#<x:ref>language-tag</x:ref>
    13291329</artwork></figure>
     
    13841384</t>
    13851385<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Content-Location"/><iref primary="true" item="Grammar" subitem="Content-Location-v"/>
    1386   <x:ref>Content-Location</x:ref>   = "Content-Location" BWS ":" OWS
     1386  <x:ref>Content-Location</x:ref>   = "Content-Location" ":" <x:ref>OWS</x:ref>
    13871387                    <x:ref>Content-Location-v</x:ref>
    13881388  <x:ref>Content-Location-v</x:ref> =
     
    14311431</t>
    14321432<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Content-MD5"/><iref primary="true" item="Grammar" subitem="Content-MD5-v"/>
    1433   <x:ref>Content-MD5</x:ref>   = "Content-MD5" BWS ":" OWS <x:ref>Content-MD5-v</x:ref>
     1433  <x:ref>Content-MD5</x:ref>   = "Content-MD5" ":" <x:ref>OWS</x:ref> <x:ref>Content-MD5-v</x:ref>
    14341434  <x:ref>Content-MD5-v</x:ref> = &lt;base64 of 128 bit MD5 digest as per <xref target="RFC1864"/>&gt;
    14351435</artwork></figure>
     
    15041504</t>
    15051505<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Content-Type"/><iref primary="true" item="Grammar" subitem="Content-Type-v"/>
    1506   <x:ref>Content-Type</x:ref>   = "Content-Type" BWS ":" OWS <x:ref>Content-Type-v</x:ref>
     1506  <x:ref>Content-Type</x:ref>   = "Content-Type" ":" <x:ref>OWS</x:ref> <x:ref>Content-Type-v</x:ref>
    15071507  <x:ref>Content-Type-v</x:ref> = <x:ref>media-type</x:ref>
    15081508</artwork></figure>
     
    23912391</t>
    23922392<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="MIME-Version"/><iref primary="true" item="Grammar" subitem="MIME-Version-v"/>
    2393   <x:ref>MIME-Version</x:ref>   = "MIME-Version" BWS ":" OWS <x:ref>MIME-Version-v</x:ref>
     2393  <x:ref>MIME-Version</x:ref>   = "MIME-Version" ":" <x:ref>OWS</x:ref> <x:ref>MIME-Version-v</x:ref>
    23942394  <x:ref>MIME-Version-v</x:ref> = 1*<x:ref>DIGIT</x:ref> "." 1*<x:ref>DIGIT</x:ref>
    23952395</artwork></figure>
     
    25182518</t>
    25192519<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="content-disposition"/><iref primary="true" item="Grammar" subitem="content-disposition-v"/><iref primary="true" item="Grammar" subitem="disposition-type"/><iref primary="true" item="Grammar" subitem="disposition-parm"/><iref primary="true" item="Grammar" subitem="filename-parm"/><iref primary="true" item="Grammar" subitem="disp-extension-token"/><iref primary="true" item="Grammar" subitem="disp-extension-parm"/>
    2520   <x:ref>content-disposition</x:ref> = "Content-Disposition" BWS ":" OWS
     2520  <x:ref>content-disposition</x:ref> = "Content-Disposition" ":" <x:ref>OWS</x:ref>
    25212521                        <x:ref>content-disposition-v</x:ref>
    25222522  <x:ref>content-disposition-v</x:ref> = <x:ref>disposition-type</x:ref> *( ";" <x:ref>disposition-parm</x:ref> )
Note: See TracChangeset for help on using the changeset viewer.