Changeset 1470 for draft-ietf-httpbis/latest/p4-conditional.xml
- Timestamp:
- 02/11/11 12:33:39 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
draft-ietf-httpbis/latest/p4-conditional.xml
r1469 r1470 293 293 <x:anchor-alias value="CR"/> 294 294 <x:anchor-alias value="DIGIT"/> 295 <x:anchor-alias value="DQUOTE"/> 295 296 <x:anchor-alias value="LF"/> 296 297 <x:anchor-alias value="OCTET"/> 297 298 <x:anchor-alias value="VCHAR"/> 298 299 <x:anchor-alias value="core.rules"/> 299 <x:anchor-alias value=" quoted-string"/>300 <x:anchor-alias value="obs-text"/> 300 301 <x:anchor-alias value="OWS"/> 301 302 <x:anchor-alias value="HTTP-date"/> … … 321 322 <figure><artwork type="abnf2616"> 322 323 <x:ref>OWS</x:ref> = <OWS, defined in &basic-rules;> 323 <x:ref> quoted-string</x:ref> = <quoted-string, defined in &field-rules;>324 <x:ref>obs-text</x:ref> = <obs-text, defined in &field-rules;> 324 325 <x:ref>HTTP-date</x:ref> = <HTTP-date, defined in &http-date;> 325 326 </artwork></figure> … … 548 549 <x:anchor-alias value="opaque-tag"/> 549 550 <x:anchor-alias value="weak"/> 551 <x:anchor-alias value="etagc"/> 550 552 <t> 551 553 The ETag header field provides the current entity-tag for the … … 558 560 quoted string, possibly prefixed by a weakness indicator. 559 561 </t> 560 <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"/> 562 <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"/> 561 563 <x:ref>ETag</x:ref> = <x:ref>entity-tag</x:ref> 562 564 563 565 <x:ref>entity-tag</x:ref> = [ <x:ref>weak</x:ref> ] <x:ref>opaque-tag</x:ref> 564 566 <x:ref>weak</x:ref> = <x:abnf-char-sequence>"W/"</x:abnf-char-sequence> ; "W/", case-sensitive 565 <x:ref>opaque-tag</x:ref> = <x:ref>quoted-string</x:ref> 567 <x:ref>opaque-tag</x:ref> = <x:ref>DQUOTE</x:ref> *<x:ref>etagc</x:ref> <x:ref>DQUOTE</x:ref> 568 <x:ref>etagc</x:ref> = %x21 / %x23-7E / <x:ref>obs-text</x:ref> 569 ; <xref>VCHAR</xref> except double quotes, plus obs-text 566 570 </artwork></figure> 571 <x:note> 572 <t> 573 <x:h>Note:</x:h> Previously, opaque-tag was defined to be a quoted-string 574 (<xref target="RFC2616" x:fmt="," x:sec="3.11"/>), thus some recipients 575 might perform backslash unescaping. Servers therefore ought to avoid 576 backslash characters in entity tags. 577 </t> 578 </x:note> 567 579 <t> 568 580 An entity-tag can be more reliable for validation than a modification … … 1567 1579 </t> 1568 1580 <t> 1581 Change ETag header field ABNF not to use quoted-string, thus avoiding 1582 escaping issues. 1583 (<xref target="header.etag"/>) 1584 </t> 1585 <t> 1569 1586 Change ABNF productions for header fields to only define the field value. 1570 1587 (<xref target="header.field.definitions"/>) … … 1592 1609 1593 1610 <x:ref>entity-tag</x:ref> = [ weak ] opaque-tag 1594 1595 <x:ref>opaque-tag</x:ref> = quoted-string 1596 1597 <x:ref>quoted-string</x:ref> = <quoted-string, defined in [Part1], Section 3.2.3> 1611 <x:ref>etagc</x:ref> = "!" / %x23-7E ; '#'-'~' 1612 / obs-text 1613 1614 <x:ref>obs-text</x:ref> = <obs-text, defined in [Part1], Section 3.2.3> 1615 <x:ref>opaque-tag</x:ref> = DQUOTE *etagc DQUOTE 1598 1616 1599 1617 <x:ref>weak</x:ref> = %x57.2F ; W/ … … 1855 1873 <section title="Since draft-ietf-httpbis-p4-conditional-17" anchor="changes.since.17"> 1856 1874 <t> 1857 No changes yet. 1875 Closed issues: 1876 <list style="symbols"> 1877 <t> 1878 <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/306"/>: 1879 "does etag value really use quoted-string" 1880 </t> 1881 </list> 1858 1882 </t> 1859 1883 </section>
Note: See TracChangeset
for help on using the changeset viewer.