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

Ticket #306: 306.diff

File 306.diff, 4.3 KB (added by julian.reschke@gmx.de, 3 years ago)

proposed change for p4

  • p4-conditional.xml

     
    275275  <x:anchor-alias value="ALPHA"/> 
    276276  <x:anchor-alias value="CR"/> 
    277277  <x:anchor-alias value="DIGIT"/> 
     278  <x:anchor-alias value="DQUOTE"/> 
    278279  <x:anchor-alias value="LF"/> 
    279280  <x:anchor-alias value="OCTET"/> 
    280281  <x:anchor-alias value="VCHAR"/> 
    281282  <x:anchor-alias value="core.rules"/> 
    282   <x:anchor-alias value="quoted-string"/> 
     283  <x:anchor-alias value="obs-text"/> 
    283284  <x:anchor-alias value="OWS"/> 
    284285  <x:anchor-alias value="HTTP-date"/> 
    285286<t> 
     
    302303</t> 
    303304<figure><artwork type="abnf2616"> 
    304305  <x:ref>OWS</x:ref>           = &lt;OWS, defined in &basic-rules;&gt; 
    305   <x:ref>quoted-string</x:ref> = &lt;quoted-string, defined in &field-rules;&gt; 
     306  <x:ref>obs-text</x:ref>      = &lt;obs-text, defined in &field-rules;&gt; 
    306307  <x:ref>HTTP-date</x:ref>     = &lt;HTTP-date, defined in &full-date;&gt; 
    307308</artwork></figure> 
    308309</section> 
     
    524525  <x:anchor-alias value="entity.tags"/> 
    525526  <x:anchor-alias value="opaque-tag"/> 
    526527  <x:anchor-alias value="weak"/> 
     528  <x:anchor-alias value="etagc"/> 
    527529<t> 
    528530   The ETag header field provides the current entity-tag for the 
    529531   selected representation. 
     
    534536   valid at the same time, or both. An entity-tag consists of an opaque 
    535537   quoted string, possibly prefixed by a weakness indicator. 
    536538</t> 
    537 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="ETag"/><iref primary="true" item="Grammar" subitem="entity-tag"/><iref primary="true" item="Grammar" subitem="weak"/><iref primary="true" item="Grammar" subitem="opaque-tag"/> 
     539<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="ETag"/><iref primary="true" item="Grammar" subitem="entity-tag"/><iref primary="true" item="Grammar" subitem="weak"/><iref primary="true" item="Grammar" subitem="opaque-tag"/><iref primary="true" item="Grammar" subitem="etagc"/> 
    538540  <x:ref>ETag</x:ref>       = <x:ref>entity-tag</x:ref> 
    539541 
    540542  <x:ref>entity-tag</x:ref> = [ <x:ref>weak</x:ref> ] <x:ref>opaque-tag</x:ref> 
    541543  <x:ref>weak</x:ref>       = <x:abnf-char-sequence>"W/"</x:abnf-char-sequence> ; "W/", case-sensitive 
    542   <x:ref>opaque-tag</x:ref> = <x:ref>quoted-string</x:ref> 
     544  <x:ref>opaque-tag</x:ref> = <x:ref>DQUOTE</x:ref> *<x:ref>etagc</x:ref> <x:ref>DQUOTE</x:ref> 
     545  <x:ref>etagc</x:ref>      = %x21 / %x23-7E / <x:ref>obs-text</x:ref> 
     546             ; <xref>VCHAR</xref> except double quotes, plus obs-text 
    543547</artwork></figure> 
     548<x:note> 
     549  <t> 
     550    <x:h>Note:</x:h> Previously, opaque-tag was defined to be a quoted-string 
     551    (<xref target="RFC2616" x:fmt="," x:sec="3.11"/>), thus some recipients 
     552    might perform backslash unescaping. Servers therefore ought to avoid 
     553    backslash characters in entity tags. 
     554  </t> 
     555</x:note> 
    544556<t> 
    545557   An entity-tag can be more reliable for validation than a modification 
    546558   date in situations where it is inconvenient to store modification 
     
    14961508  <xref target="header.if-none-match" format="counter"/>). 
    14971509</t> 
    14981510<t> 
     1511  Change ETag header field ABNF not to use quoted-string, thus avoiding 
     1512  escaping issues. 
     1513  (<xref target="header.etag"/>) 
     1514</t> 
     1515<t> 
    14991516  Change ABNF productions for header fields to only define the field value. 
    15001517  (<xref target="header.field.definitions"/>) 
    15011518</t> 
     
    15211538<x:ref>OWS</x:ref> = &lt;OWS, defined in [Part1], Section 1.2.2&gt; 
    15221539 
    15231540<x:ref>entity-tag</x:ref> = [ weak ] opaque-tag 
     1541<x:ref>etagc</x:ref> = "!" / %x23-7E ; '#'-'~' 
     1542 / obs-text 
    15241543 
    1525 <x:ref>opaque-tag</x:ref> = quoted-string 
     1544<x:ref>obs-text</x:ref> = &lt;obs-text, defined in [Part1], Section 3.2.3&gt; 
     1545<x:ref>opaque-tag</x:ref> = DQUOTE *etagc DQUOTE 
    15261546 
    1527 <x:ref>quoted-string</x:ref> = &lt;quoted-string, defined in [Part1], Section 3.2.3&gt; 
    1528  
    15291547<x:ref>weak</x:ref> = %x57.2F ; W/ 
    15301548</artwork> 
    15311549</figure> 
     
    17721790 
    17731791<section title="Since draft-ietf-httpbis-p4-conditional-16" anchor="changes.since.16"> 
    17741792<t> 
    1775   None yet. 
     1793  Closed issues: 
     1794  <list style="symbols">  
     1795    <t> 
     1796      <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/306"/>: 
     1797      "does etag value really use quoted-string" 
     1798    </t> 
     1799  </list> 
    17761800</t> 
    17771801</section> 
    17781802