Ignore:
Timestamp:
19/01/13 21:52:42 (7 years ago)
Author:
fielding@…
Message:

Just noticed that p5 requires If-Range be ignored if other preconditions win, so move it to end of precedence

File:
1 edited

Legend:

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

    r2131 r2133  
    827827   only those changed during the specified window.
    828828</t>
    829 <t>
    830    The <x:ref>Range</x:ref> header field modifies the interpretation of
    831    If-Modified-Since, as defined in &header-range;.
    832 </t>
    833829<x:note>
    834830  <t>
     
    873869   The "If-Range" header field provides a special conditional request
    874870   mechanism that is similar to <x:ref>If-Match</x:ref> and
    875    <x:ref>If-Unmodified-Since</x:ref> but specific to HTTP range requests.
     871   <x:ref>If-Unmodified-Since</x:ref> but specific to range requests.
    876872   If-Range is defined in &header-if-range;.
    877873</t>
     
    985981       </list>
    986982     </t>
    987      <t>When the method is GET and both <x:ref>Range</x:ref> and
    988         <x:ref>If-Range</x:ref> are present, evaluate it:
    989        <list style="symbols">
    990          <t>if the validator matches, respond 206 (Partial Content)</t>
    991          <t>if the validator does not match, respond <x:ref>200 (OK)</x:ref></t>
    992        </list>
    993      </t>
    994983     <t>When <x:ref>If-None-Match</x:ref> is present, evaluate it:
    995984       <list style="symbols">
    996          <t>if true, all conditions are met</t>
     985         <t>if true, continue to step 5</t>
    997986         <t>if false for GET/HEAD, respond <x:ref>304 (Not Modified)</x:ref></t>
    998987         <t>if false for other methods, respond <x:ref>412 (Precondition Failed)</x:ref></t>
     
    1003992        <x:ref>If-Modified-Since</x:ref> is present, evaluate it:
    1004993       <list style="symbols">
    1005          <t>if true, all conditions are met</t>
     994         <t>if true, continue to step 5</t>
    1006995         <t>if false, respond <x:ref>304 (Not Modified)</x:ref></t>
     996       </list>
     997     </t>
     998     <t>When the method is GET and both <x:ref>Range</x:ref> and
     999        <x:ref>If-Range</x:ref> are present, evaluate If-Range:
     1000       <list style="symbols">
     1001         <t>if the validator matches and the Range specification is
     1002            applicable to the selected representation, respond
     1003            <x:ref>206 (Partial Content)</x:ref> <xref target="Part5"/></t>
     1004       </list>
     1005     </t>
     1006     <t>Otherwise,
     1007       <list style="symbols">
     1008         <t>respond <x:ref>200 (OK)</x:ref></t>
    10071009       </list>
    10081010     </t>
     
    12081210    <x:defines>If-Range</x:defines>
    12091211    <x:defines>Range</x:defines>
     1212    <x:defines>206 (Partial Content)</x:defines>
    12101213  </x:source>
    12111214</reference>
Note: See TracChangeset for help on using the changeset viewer.