Ignore:
Timestamp:
Jul 3, 2012, 11:26:11 AM (7 years ago)
Author:
julian.reschke@…
Message:

Work-in-progress: hyperlink status codes definitions (for those defined in parts 4, 5, and 7)

File:
1 edited

Legend:

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

    r1703 r1708  
    696696   If-Unmodified-Since header field) and one or more entity-tags (e.g.,
    697697   in an If-Match, If-None-Match, or If-Range header field) as cache
    698    validators, &MUST-NOT; return a response status code of 304 (Not Modified)
     698   validators, &MUST-NOT; return a response status code of <x:ref>304 (Not Modified)</x:ref>
    699699   unless doing so is consistent with all of the conditional header
    700700   fields in the request.
     
    757757   Origin servers &MUST-NOT; perform the requested method if none of the
    758758   entity-tags match, or if "*" is given and no current representation
    759    exists; instead they &MUST; respond with the 412 (Precondition Failed)
     759   exists; instead they &MUST; respond with the <x:ref>412 (Precondition Failed)</x:ref>
    760760   status code.
    761761</t>
     
    819819   server &MUST-NOT; perform the requested method.
    820820   Instead, if the request method was GET or HEAD, the server &SHOULD;
    821    respond with a 304 (Not Modified) status code, including the cache-related
     821   respond with a <x:ref>304 (Not Modified)</x:ref> status code, including the cache-related
    822822   header fields (particularly ETag) of the selected representation that has
    823823   a matching entity-tag.  For all other request methods, the server &MUST;
    824    respond with a 412 (Precondition Failed) status code.
     824   respond with a <x:ref>412 (Precondition Failed)</x:ref> status code.
    825825</t>
    826826<t>
     
    829829   but &MUST; also ignore any If-Modified-Since header field(s) in the
    830830   request. That is, if no entity-tags match, then the server &MUST-NOT;
    831    return a 304 (Not Modified) response.
     831   return a <x:ref>304 (Not Modified)</x:ref> response.
    832832</t>
    833833<t>
     
    894894      <t>If the selected representation has not been modified since a valid
    895895         If-Modified-Since date, the server &SHOULD; return a
    896          304 (Not Modified) response.</t>
     896         <x:ref>304 (Not Modified)</x:ref> response.</t>
    897897  </list>
    898898</t>
     
    909909      &Note; When handling an If-Modified-Since header field, some
    910910      servers will use an exact date comparison function, rather than a
    911       less-than function, for deciding whether to send a 304 (Not
    912       Modified) response. To get best results when sending an If-Modified-Since
     911      less-than function, for deciding whether to send a <x:ref>304 (Not Modified)</x:ref>
     912      response. To get best results when sending an If-Modified-Since
    913913      header field for cache validation, clients are
    914914      advised to use the exact date string received in a previous Last-Modified
     
    948948   has been modified since the time specified in this field, then the
    949949   server &MUST-NOT; perform the requested operation and &MUST; instead
    950    respond with the 412 (Precondition Failed) status code.
     950   respond with the <x:ref>412 (Precondition Failed)</x:ref> status code.
    951951   If the selected representation has not been modified since the time
    952952   specified in this field, the server &SHOULD; perform the request
     
    991991  <iref primary="true" item="304 Not Modified (status code)" x:for-anchor=""/>
    992992  <iref primary="true" item="Status Codes" subitem="304 Not Modified" x:for-anchor=""/>
     993  <x:anchor-alias value="304 (Not Modified)"/>
    993994<t>
    994995   The 304 status code indicates that a conditional GET request has been
     
    10381039  <iref primary="true" item="412 Precondition Failed (status code)" x:for-anchor=""/>
    10391040  <iref primary="true" item="Status Codes" subitem="412 Precondition Failed" x:for-anchor=""/>
     1041  <x:anchor-alias value="412 (Precondition Failed)"/>
    10401042<t>
    10411043   The 412 status code indicates that one or more preconditions given in
Note: See TracChangeset for help on using the changeset viewer.