2015-11-06 22:55:41 +01:00
|
|
|
---
|
|
|
|
set: 2
|
|
|
|
code: 226
|
|
|
|
title: IM Used
|
2015-11-07 02:41:41 +01:00
|
|
|
references:
|
|
|
|
"Rails HTTP Status Symbol": ":im_used"
|
2015-11-06 22:55:41 +01:00
|
|
|
---
|
|
|
|
|
2015-11-07 02:41:41 +01:00
|
|
|
The server has fulfilled a GET request for the resource, and the response is a
|
|
|
|
representation of the result of one or more instance-manipulations applied to
|
2015-11-07 06:31:20 +01:00
|
|
|
the current instance.
|
|
|
|
|
|
|
|
The actual current instance might not be available except by combining this
|
|
|
|
response with other previous or future responses, as appropriate for the
|
|
|
|
specific instance-manipulation(s). If so, the headers of the resulting instance
|
2015-11-09 01:28:54 +01:00
|
|
|
are the result of combining the headers from the 226 response and the other
|
|
|
|
instances, following the rules in [section 13.5.3][2] of the
|
|
|
|
HTTP/1.1 specification.
|
2015-11-07 02:41:41 +01:00
|
|
|
|
|
|
|
The request MUST have included an A-IM header field listing at least
|
|
|
|
one instance-manipulation. The response MUST include an Etag header
|
|
|
|
field giving the entity tag of the current instance.
|
|
|
|
|
|
|
|
A response received with a status code of 226 MAY be stored by a
|
|
|
|
cache and used in reply to a subsequent request, subject to the HTTP
|
|
|
|
expiration mechanism and any Cache-Control headers, and to the
|
2015-11-07 04:03:35 +01:00
|
|
|
requirements in [section 10.6][3].
|
2015-11-07 02:41:41 +01:00
|
|
|
|
|
|
|
A response received with a status code of 226 MAY be used by a cache,
|
|
|
|
in conjunction with a cache entry for the base instance, to create a
|
|
|
|
cache entry for the current instance.
|
|
|
|
|
2015-11-09 01:28:54 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
* Source: [RFC3229 Section 10.4.1][1]
|
2015-11-07 02:41:41 +01:00
|
|
|
|
2015-11-07 04:03:35 +01:00
|
|
|
[1]: <http://tools.ietf.org/html/rfc3229#section-10.4.1>
|
2015-11-09 01:28:54 +01:00
|
|
|
[2]: <http://tools.ietf.org/html/rfc2616#section-13.5.3>
|
2015-11-07 04:03:35 +01:00
|
|
|
[3]: <http://tools.ietf.org/html/rfc3229#section-10.6>
|