Ignore:
Timestamp:
Jan 1, 2008, 9:15:17 AM (12 years ago)
Author:
julian.reschke@…
Message:

Consistent indentation for all ABNF rules (addresses #36)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis/latest/p6-cache.xml

    r131 r135  
    372372</t>
    373373<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="delta-seconds"/>
    374     delta-seconds  = 1*DIGIT
     374  delta-seconds  = 1*DIGIT
    375375</artwork></figure>
    376376</section>
     
    15491549</t>
    15501550<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Age"/><iref primary="true" item="Grammar" subitem="age-value"/>
    1551         Age = "Age" ":" age-value
    1552         age-value = delta-seconds
     1551  Age = "Age" ":" age-value
     1552  age-value = delta-seconds
    15531553</artwork></figure>
    15541554<t>
     
    15921592</t>
    15931593<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Cache-Control"/><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"/>
    1594    Cache-Control   = "Cache-Control" ":" 1#cache-directive
    1595 
    1596    cache-directive = cache-request-directive
    1597         | cache-response-directive
    1598 
    1599    cache-request-directive =
    1600           "no-cache"                          ; <xref target="what.is.cacheable"/>
    1601         | "no-store"                          ; <xref target="what.may.be.stored.by.caches"/>
    1602         | "max-age" "=" delta-seconds         ; <xref target="modifications.of.the.basic.expiration.mechanism"/>, <xref format="counter" target="cache.revalidation.and.reload.controls"/>
    1603         | "max-stale" [ "=" delta-seconds ]   ; <xref target="modifications.of.the.basic.expiration.mechanism"/>
    1604         | "min-fresh" "=" delta-seconds       ; <xref target="modifications.of.the.basic.expiration.mechanism"/>
    1605         | "no-transform"                      ; <xref target="no-transform.directive"/>
    1606         | "only-if-cached"                    ; <xref target="cache.revalidation.and.reload.controls"/>
    1607         | cache-extension                     ; <xref target="cache.control.extensions"/>
    1608 
    1609     cache-response-directive =
    1610           "public"                               ; <xref target="what.is.cacheable"/>
    1611         | "private" [ "=" &lt;"&gt; 1#field-name &lt;"&gt; ] ; <xref target="what.is.cacheable"/>
    1612         | "no-cache" [ "=" &lt;"&gt; 1#field-name &lt;"&gt; ]; <xref target="what.is.cacheable"/>
    1613         | "no-store"                             ; <xref target="what.may.be.stored.by.caches"/>
    1614         | "no-transform"                         ; <xref target="no-transform.directive"/>
    1615         | "must-revalidate"                      ; <xref target="cache.revalidation.and.reload.controls"/>
    1616         | "proxy-revalidate"                     ; <xref target="cache.revalidation.and.reload.controls"/>
    1617         | "max-age" "=" delta-seconds            ; <xref target="modifications.of.the.basic.expiration.mechanism"/>
    1618         | "s-maxage" "=" delta-seconds           ; <xref target="modifications.of.the.basic.expiration.mechanism"/>
    1619         | cache-extension                        ; <xref target="cache.control.extensions"/>
    1620 
    1621    cache-extension = token [ "=" ( token | quoted-string ) ]
     1594  Cache-Control   = "Cache-Control" ":" 1#cache-directive
     1595
     1596  cache-directive = cache-request-directive
     1597       | cache-response-directive
     1598
     1599  cache-request-directive =
     1600         "no-cache"                          ; <xref target="what.is.cacheable"/>
     1601       | "no-store"                          ; <xref target="what.may.be.stored.by.caches"/>
     1602       | "max-age" "=" delta-seconds         ; <xref target="modifications.of.the.basic.expiration.mechanism"/>, <xref format="counter" target="cache.revalidation.and.reload.controls"/>
     1603       | "max-stale" [ "=" delta-seconds ]   ; <xref target="modifications.of.the.basic.expiration.mechanism"/>
     1604       | "min-fresh" "=" delta-seconds       ; <xref target="modifications.of.the.basic.expiration.mechanism"/>
     1605       | "no-transform"                      ; <xref target="no-transform.directive"/>
     1606       | "only-if-cached"                    ; <xref target="cache.revalidation.and.reload.controls"/>
     1607       | cache-extension                     ; <xref target="cache.control.extensions"/>
     1608
     1609  cache-response-directive =
     1610         "public"                               ; <xref target="what.is.cacheable"/>
     1611       | "private" [ "=" &lt;"&gt; 1#field-name &lt;"&gt; ] ; <xref target="what.is.cacheable"/>
     1612       | "no-cache" [ "=" &lt;"&gt; 1#field-name &lt;"&gt; ]; <xref target="what.is.cacheable"/>
     1613       | "no-store"                             ; <xref target="what.may.be.stored.by.caches"/>
     1614       | "no-transform"                         ; <xref target="no-transform.directive"/>
     1615       | "must-revalidate"                      ; <xref target="cache.revalidation.and.reload.controls"/>
     1616       | "proxy-revalidate"                     ; <xref target="cache.revalidation.and.reload.controls"/>
     1617       | "max-age" "=" delta-seconds            ; <xref target="modifications.of.the.basic.expiration.mechanism"/>
     1618       | "s-maxage" "=" delta-seconds           ; <xref target="modifications.of.the.basic.expiration.mechanism"/>
     1619       | cache-extension                        ; <xref target="cache.control.extensions"/>
     1620
     1621  cache-extension = token [ "=" ( token | quoted-string ) ]
    16221622</artwork></figure>
    16231623<t>
     
    21322132</t>
    21332133<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Expires"/>
    2134    Expires = "Expires" ":" HTTP-date
     2134  Expires = "Expires" ":" HTTP-date
    21352135</artwork></figure>
    21362136<t>
     
    21822182</t>
    21832183<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Pragma"/><iref primary="true" item="Grammar" subitem="pragma-directive"/><iref primary="true" item="Grammar" subitem="extension-pragma"/>
    2184     Pragma            = "Pragma" ":" 1#pragma-directive
    2185     pragma-directive  = "no-cache" | extension-pragma
    2186     extension-pragma  = token [ "=" ( token | quoted-string ) ]
     2184  Pragma            = "Pragma" ":" 1#pragma-directive
     2185  pragma-directive  = "no-cache" | extension-pragma
     2186  extension-pragma  = token [ "=" ( token | quoted-string ) ]
    21872187</artwork></figure>
    21882188<t>
     
    22302230</t>
    22312231<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Vary"/>
    2232     Vary  = "Vary" ":" ( "*" | 1#field-name )
     2232  Vary  = "Vary" ":" ( "*" | 1#field-name )
    22332233</artwork></figure>
    22342234<t>
     
    22812281</t>
    22822282<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Warning"/><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"/>
    2283     Warning    = "Warning" ":" 1#warning-value
    2284 
    2285     warning-value = warn-code SP warn-agent SP warn-text
    2286                                           [SP warn-date]
    2287 
    2288     warn-code  = 3DIGIT
    2289     warn-agent = ( host [ ":" port ] ) | pseudonym
    2290                     ; the name or pseudonym of the server adding
    2291                     ; the Warning header, for use in debugging
    2292     warn-text  = quoted-string
    2293     warn-date  = &lt;"&gt; HTTP-date &lt;"&gt;
     2283  Warning    = "Warning" ":" 1#warning-value
     2284 
     2285  warning-value = warn-code SP warn-agent SP warn-text
     2286                                        [SP warn-date]
     2287 
     2288  warn-code  = 3DIGIT
     2289  warn-agent = ( host [ ":" port ] ) | pseudonym
     2290                  ; the name or pseudonym of the server adding
     2291                  ; the Warning header, for use in debugging
     2292  warn-text  = quoted-string
     2293  warn-date  = &lt;"&gt; HTTP-date &lt;"&gt;
    22942294</artwork></figure>
    22952295<t>
Note: See TracChangeset for help on using the changeset viewer.