Ignore:
Timestamp:
Jul 31, 2008, 6:37:30 AM (11 years ago)
Author:
julian.reschke@…
Message:

Resolve #71: Clarify matching functions and add examples (closes #71).

File:
1 edited

Legend:

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

    r290 r298  
    431431  <list style="symbols">
    432432     <t>The strong comparison function: in order to be considered equal,
    433         both validators &MUST; be identical in every way, and both &MUST-NOT;
    434         be weak.</t>
    435      <t>The weak comparison function: in order to be considered equal,
    436         both validators &MUST; be identical in every way, but either or
    437         both of them &MAY; be tagged as "weak" without affecting the
    438         result.</t>
    439   </list>
    440 </t>
     433        both opaque-tags &MUST; be identical character-by-character, and both
     434        &MUST-NOT; be weak.</t>
     435     <t>The weak comparison function: in order to be considered equal, both
     436        opaque-tags &MUST; be identical character-by-character.</t>
     437  </list>
     438</t>
     439<t>
     440   The example below shows the results for a set of entity tag pairs,
     441   and both the weak and strong comparison function results:
     442</t>
     443<texttable align="left">
     444  <ttcol>ETag 1</ttcol>
     445  <ttcol>ETag 2</ttcol>
     446  <ttcol>Strong Comparison</ttcol>
     447  <ttcol>Weak Comparison</ttcol>
     448
     449  <c>W/"1"</c>
     450  <c>W/"1"</c>
     451  <c>no match</c>
     452  <c>match</c>
     453 
     454  <c>W/"1"</c>
     455  <c>W/"2"</c>
     456  <c>no match</c>
     457  <c>no match</c>
     458
     459  <c>W/"1"</c>
     460  <c>"1"</c>
     461  <c>no match</c>
     462  <c>match</c>
     463
     464  <c>"1"</c>
     465  <c>"1"</c>
     466  <c>match</c>
     467  <c>match</c>
     468</texttable>
    441469<t>
    442470   An entity tag is strong unless it is explicitly tagged as weak.
     
    13651393<section title="Since draft-ietf-httpbis-p4-conditional-03" anchor="changes.since.03">
    13661394<t>
     1395  Closed issues:
     1396  <list style="symbols">
     1397    <t>
     1398      <eref target="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/71"/>:
     1399      "Examples for ETag matching"
     1400    </t>
     1401  </list>
    13671402</t>
    13681403</section>
Note: See TracChangeset for help on using the changeset viewer.