Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
If-None-Match: "508941dc9b52243f64d964b058354b76" 
If-None-Match: "508941dc9b52243f64d964b058354b76", "fe3233d3c6881d5e8b654117b829d26c" 
If-None-Match: W/"508941dc9b52243f64d964b058354b76" 
If-None-Match: */

If Swarm will not perform the requested method if any of the entity tags match the primary object UUID that is returned in the response to a similar GET request (without the If-None-Match header) on that object or if "*" is given and the object does exist, Swarm will not perform the requested method. If the request method was GET or HEAD, Swarm will respond with a 304 Not Modified response, including a current ETag header for the object . For all other request methods, if the request method was GET or HEAD. Swarm will respond with a response of 412 Precondition failed with the same current ETag as the GET or HEAD response . If for all other request methods. The object was modified if none of the previously recorded and supplied entity tags match, the object was modified. As a result, the . The requested method will proceed as if the If-None-Match header field did not exist.

If Swarm will not return a response status of 304 Not Modified or 412 Precondition failed unless it is consistent with all of the conditional header fields in the request if Swarm receives a conditional request that includes both a Last-Modified date (for example, in an If-Modified-Since or If-Unmodified-Since header field) and one or more entity tags (for example, in an If-None-Match header field) as cache validators, Swarm will not return a response status of 304 Not Modified or 412 Precondition failed unless it is consistent with all of the conditional header fields in the request.

If-Range

A Swarm client or proxy can include the If-Range header with a GET request method to obtain an additional specified portion of the object if it has not changed or the entire object if it has changed. The value of the header can be either a single quoted string (possibly with some ignored flags outside the quotation marks) or an HTTP-date string (unquoted).

...