226

IM Used

Overview

226 IM Used means the server returned the result of one or more instance-manipulations (delta encoding) rather than the full resource. The technique sends only the difference (delta) from the version the client already holds, reducing bandwidth.

It is defined by HTTP delta encoding in RFC 3229: the client advertises supported manipulations with the A-IM header and its baseline version with If-None-Match.

When it happens

Request / Response example

Request
GET /feed.xml HTTP/1.1
Host: example.com
A-IM: feed
If-None-Match: "v41"
Response
HTTP/1.1 226 IM Used
IM: feed
ETag: "v42"
Content-Type: application/xml

(only the entries added since v41)

In code

GET /feed.xml HTTP/1.1
A-IM: feed
If-None-Match: "v41"

Notes

Related status codes

Related headers

IMA-IMDelta-BaseETag

Specification