Ignore:
Timestamp:
Mar 30, 2011, 12:07:10 AM (9 years ago)
Author:
julian.reschke@…
Message:

rewrite header field ABNFs to only specify the field value (see #276)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis/latest/p4-conditional.xml

    r1225 r1233  
    735735  <iref primary="true" item="Header Fields" subitem="ETag" x:for-anchor=""/>
    736736  <x:anchor-alias value="ETag"/>
    737   <x:anchor-alias value="ETag-v"/>
    738737<t>
    739738   The "ETag" header field provides the current value of the
     
    744743   content negotiation (see <xref target="weak.and.strong.validators"/>).
    745744</t>
    746 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="ETag"/><iref primary="true" item="Grammar" subitem="ETag-v"/>
    747   <x:ref>ETag</x:ref>   = "ETag" ":" <x:ref>OWS</x:ref> <x:ref>ETag-v</x:ref>
    748   <x:ref>ETag-v</x:ref> = <x:ref>entity-tag</x:ref>
     745<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="ETag"/>
     746  <x:ref>ETag</x:ref> = <x:ref>entity-tag</x:ref>
    749747</artwork></figure>
    750748<figure><preamble>
     
    779777  <iref primary="true" item="Header Fields" subitem="If-Match" x:for-anchor=""/>
    780778  <x:anchor-alias value="If-Match"/>
    781   <x:anchor-alias value="If-Match-v"/>
    782779<t>
    783780   The "If-Match" header field &MAY; be used to make a request method
     
    791788   target resource.
    792789</t>
    793 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="If-Match"/><iref primary="true" item="Grammar" subitem="If-Match-v"/>
    794   <x:ref>If-Match</x:ref>   = "If-Match" ":" <x:ref>OWS</x:ref> <x:ref>If-Match-v</x:ref>
    795   <x:ref>If-Match-v</x:ref> = "*" / 1#<x:ref>entity-tag</x:ref>
     790<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="If-Match"/>
     791  <x:ref>If-Match</x:ref> = "*" / 1#<x:ref>entity-tag</x:ref>
    796792</artwork></figure>
    797793<t>
     
    832828  <iref primary="true" item="Header Fields" subitem="If-Modified-Since" x:for-anchor=""/>
    833829  <x:anchor-alias value="If-Modified-Since"/>
    834   <x:anchor-alias value="If-Modified-Since-v"/>
    835830<t>
    836831   The "If-Modified-Since" header field &MAY; be used to make a request
     
    839834   do not perform the request method; instead, respond as detailed below.
    840835</t>
    841 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="If-Modified-Since"/><iref primary="true" item="Grammar" subitem="If-Modified-Since-v"/>
    842   <x:ref>If-Modified-Since</x:ref>   = "If-Modified-Since" ":" <x:ref>OWS</x:ref>
    843                         <x:ref>If-Modified-Since-v</x:ref>
    844   <x:ref>If-Modified-Since-v</x:ref> = <x:ref>HTTP-date</x:ref>
     836<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="If-Modified-Since"/>
     837  <x:ref>If-Modified-Since</x:ref> = <x:ref>HTTP-date</x:ref>
    845838</artwork></figure>
    846839<t>
     
    918911  <iref primary="true" item="Header Fields" subitem="If-None-Match" x:for-anchor=""/>
    919912  <x:anchor-alias value="If-None-Match"/>
    920   <x:anchor-alias value="If-None-Match-v"/>
    921913<t>
    922914   The "If-None-Match" header field &MAY; be used to make a request method
     
    938930   attempts to create an initial representation for the target resource.
    939931</t>
    940 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="If-None-Match"/><iref primary="true" item="Grammar" subitem="If-None-Match-v"/>
    941   <x:ref>If-None-Match</x:ref>   = "If-None-Match" ":" <x:ref>OWS</x:ref> <x:ref>If-None-Match-v</x:ref>
    942   <x:ref>If-None-Match-v</x:ref> = "*" / 1#<x:ref>entity-tag</x:ref>
     932<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="If-None-Match"/>
     933  <x:ref>If-None-Match</x:ref> = "*" / 1#<x:ref>entity-tag</x:ref>
    943934</artwork></figure>
    944935<t>
     
    989980  <iref primary="true" item="Header Fields" subitem="If-Unmodified-Since" x:for-anchor=""/>
    990981  <x:anchor-alias value="If-Unmodified-Since"/>
    991   <x:anchor-alias value="If-Unmodified-Since-v"/>
    992982<t>
    993983   The "If-Unmodified-Since" header field &MAY; be used to make a request
     
    1000990   method as if the If-Unmodified-Since header field were not present.
    1001991</t>
    1002 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="If-Unmodified-Since"/><iref primary="true" item="Grammar" subitem="If-Unmodified-Since-v"/>
    1003   <x:ref>If-Unmodified-Since</x:ref>   = "If-Unmodified-Since" ":" <x:ref>OWS</x:ref>
    1004                           <x:ref>If-Unmodified-Since-v</x:ref>
    1005   <x:ref>If-Unmodified-Since-v</x:ref> = <x:ref>HTTP-date</x:ref>
     992<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="If-Unmodified-Since"/>
     993  <x:ref>If-Unmodified-Since</x:ref> = <x:ref>HTTP-date</x:ref>
    1006994</artwork></figure>
    1007995<t>
     
    10301018  <iref primary="true" item="Header Fields" subitem="Last-Modified" x:for-anchor=""/>
    10311019  <x:anchor-alias value="Last-Modified"/>
    1032   <x:anchor-alias value="Last-Modified-v"/>
    10331020<t>
    10341021   The "Last-Modified" header field indicates the date and time at
    10351022   which the origin server believes the representation was last modified.
    10361023</t>
    1037 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Last-Modified"/><iref primary="true" item="Grammar" subitem="Last-Modified-v"/>
    1038   <x:ref>Last-Modified</x:ref>   = "Last-Modified" ":" <x:ref>OWS</x:ref> <x:ref>Last-Modified-v</x:ref>
    1039   <x:ref>Last-Modified-v</x:ref> = <x:ref>HTTP-date</x:ref>
     1024<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Last-Modified"/>
     1025  <x:ref>Last-Modified</x:ref> = <x:ref>HTTP-date</x:ref>
    10401026</artwork></figure>
    10411027<t>
     
    14671453  <xref target="header.if-none-match" format="counter"/>).
    14681454</t>
     1455<t>
     1456  Change ABNF productions for header fields to only define the field value.
     1457  (<xref target="header.fields"/>)
     1458</t>
    14691459</section>
    14701460
     
    14731463<figure>
    14741464<artwork type="abnf" name="p4-conditional.parsed-abnf">
    1475 <x:ref>ETag</x:ref> = "ETag:" OWS ETag-v
    1476 <x:ref>ETag-v</x:ref> = entity-tag
     1465<x:ref>ETag</x:ref> = entity-tag
    14771466
    14781467<x:ref>HTTP-date</x:ref> = &lt;HTTP-date, defined in [Part1], Section 6.1&gt;
    14791468
    1480 <x:ref>If-Match</x:ref> = "If-Match:" OWS If-Match-v
    1481 <x:ref>If-Match-v</x:ref> = "*" / ( *( "," OWS ) entity-tag *( OWS "," [ OWS
     1469<x:ref>If-Match</x:ref> = "*" / ( *( "," OWS ) entity-tag *( OWS "," [ OWS
    14821470 entity-tag ] ) )
    1483 <x:ref>If-Modified-Since</x:ref> = "If-Modified-Since:" OWS If-Modified-Since-v
    1484 <x:ref>If-Modified-Since-v</x:ref> = HTTP-date
    1485 <x:ref>If-None-Match</x:ref> = "If-None-Match:" OWS If-None-Match-v
    1486 <x:ref>If-None-Match-v</x:ref> = "*" / ( *( "," OWS ) entity-tag *( OWS "," [ OWS
     1471<x:ref>If-Modified-Since</x:ref> = HTTP-date
     1472<x:ref>If-None-Match</x:ref> = "*" / ( *( "," OWS ) entity-tag *( OWS "," [ OWS
    14871473 entity-tag ] ) )
    1488 <x:ref>If-Unmodified-Since</x:ref> = "If-Unmodified-Since:" OWS
    1489  If-Unmodified-Since-v
    1490 <x:ref>If-Unmodified-Since-v</x:ref> = HTTP-date
    1491 
    1492 <x:ref>Last-Modified</x:ref> = "Last-Modified:" OWS Last-Modified-v
    1493 <x:ref>Last-Modified-v</x:ref> = HTTP-date
     1474<x:ref>If-Unmodified-Since</x:ref> = HTTP-date
     1475
     1476<x:ref>Last-Modified</x:ref> = HTTP-date
    14941477
    14951478<x:ref>OWS</x:ref> = &lt;OWS, defined in [Part1], Section 1.2.2&gt;
     
    17111694      "If-* and entities"
    17121695    </t>
     1696    <t>
     1697      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/276"/>:
     1698      "untangle ABNFs for header fields"
     1699    </t>
    17131700  </list>
    17141701</t>
Note: See TracChangeset for help on using the changeset viewer.