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/p6-cache.xml

    r364 r366  
    15171517</t>
    15181518<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Age"/><iref primary="true" item="Grammar" subitem="Age-v"/>
    1519   <x:ref>Age</x:ref>   = "Age" <x:ref>BWS</x:ref> ":" <x:ref>OWS</x:ref> <x:ref>Age-v</x:ref>
     1519  <x:ref>Age</x:ref>   = "Age" ":" <x:ref>OWS</x:ref> <x:ref>Age-v</x:ref>
    15201520  <x:ref>Age-v</x:ref> = <x:ref>delta-seconds</x:ref>
    15211521</artwork></figure>
     
    15701570</t>
    15711571<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Cache-Control"/><iref primary="true" item="Grammar" subitem="Cache-Control-v"/><iref primary="true" item="Grammar" subitem="cache-directive"/><iref primary="true" item="Grammar" subitem="cache-request-directive"/><iref primary="true" item="Grammar" subitem="cache-response-directive"/><iref primary="true" item="Grammar" subitem="cache-extension"/>
    1572   <x:ref>Cache-Control</x:ref>   = "Cache-Control" <x:ref>BWS</x:ref> ":" <x:ref>OWS</x:ref> <x:ref>Cache-Control-v</x:ref>
     1572  <x:ref>Cache-Control</x:ref>   = "Cache-Control" ":" <x:ref>OWS</x:ref> <x:ref>Cache-Control-v</x:ref>
    15731573  <x:ref>Cache-Control-v</x:ref> = 1#<x:ref>cache-directive</x:ref>
    15741574
     
    21132113</t>
    21142114<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Expires"/><iref primary="true" item="Grammar" subitem="Expires-v"/>
    2115   <x:ref>Expires</x:ref>   = "Expires" <x:ref>BWS</x:ref> ":" <x:ref>OWS</x:ref> <x:ref>Expires-v</x:ref>
     2115  <x:ref>Expires</x:ref>   = "Expires" ":" <x:ref>OWS</x:ref> <x:ref>Expires-v</x:ref>
    21162116  <x:ref>Expires-v</x:ref> = <x:ref>HTTP-date</x:ref>
    21172117</artwork></figure>
     
    21682168</t>
    21692169<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Pragma"/><iref primary="true" item="Grammar" subitem="Pragma-v"/><iref primary="true" item="Grammar" subitem="pragma-directive"/><iref primary="true" item="Grammar" subitem="extension-pragma"/>
    2170   <x:ref>Pragma</x:ref>            = "Pragma" <x:ref>BWS</x:ref> ":" <x:ref>OWS</x:ref> <x:ref>Pragma-v</x:ref>
     2170  <x:ref>Pragma</x:ref>            = "Pragma" ":" <x:ref>OWS</x:ref> <x:ref>Pragma-v</x:ref>
    21712171  <x:ref>Pragma-v</x:ref>          = 1#<x:ref>pragma-directive</x:ref>
    21722172  <x:ref>pragma-directive</x:ref>  = "no-cache" / <x:ref>extension-pragma</x:ref>
     
    22192219</t>
    22202220<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Vary"/><iref primary="true" item="Grammar" subitem="Vary-v"/>
    2221   <x:ref>Vary</x:ref>   = "Vary" <x:ref>BWS</x:ref> ":" <x:ref>OWS</x:ref> <x:ref>Vary-v</x:ref>
     2221  <x:ref>Vary</x:ref>   = "Vary" ":" <x:ref>OWS</x:ref> <x:ref>Vary-v</x:ref>
    22222222  <x:ref>Vary-v</x:ref> = "*" / 1#<x:ref>field-name</x:ref>
    22232223</artwork></figure>
     
    22782278</t>
    22792279<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Warning"/><iref primary="true" item="Grammar" subitem="Warning-v"/><iref primary="true" item="Grammar" subitem="warning-value"/><iref primary="true" item="Grammar" subitem="warn-code"/><iref primary="true" item="Grammar" subitem="warn-agent"/><iref primary="true" item="Grammar" subitem="warn-text"/><iref primary="true" item="Grammar" subitem="warn-date"/>
    2280   <x:ref>Warning</x:ref>    = "Warning" <x:ref>BWS</x:ref> ":" <x:ref>OWS</x:ref> <x:ref>Warning-v</x:ref>
     2280  <x:ref>Warning</x:ref>    = "Warning" ":" <x:ref>OWS</x:ref> <x:ref>Warning-v</x:ref>
    22812281  <x:ref>Warning-v</x:ref>  = 1#<x:ref>warning-value</x:ref>
    22822282 
Note: See TracChangeset for help on using the changeset viewer.