226 IM Used

HTTP Status CodesSuccess (2xx)rarerStatus Code: 226Last updated: todayTested on:Google ChromeNode.js v20 LTSJune 2026

The server has completed a GET request for the resource, and the response is a representation of one or more instance-manipulations.

226 IM Used Quick Fix⏱️ Est. Fix Time: 3 minutes

Usually happens because:

  • Delta encoding requests where the client specifies A-IM (Accept-Instance-Manipulation) headers (e.g. A-IM

🔍 Quick Checklist:

Meaning

The HTTP 226 IM Used status code is returned by a server in response to a GET request when Delta encoding is active. It indicates that the server is returning only the diff (instance-manipulations) between the current version of the resource and a base version specified by the client in the A-IM request header.

Root Causes

  • Delta encoding requests where the client specifies A-IM (Accept-Instance-Manipulation) headers (e.g. A-IM: feed, vcdiff).
CauseFrequency
Delta encoding requests where the client specifies A-IM (Accept-Instance-Manipulation) headers (e.g. A-IM⭐⭐⭐⭐⭐

Common Mistakes

  • Returning a full response but claiming it is a delta diff in 226 headers.
  • Clients failing to verify local ETag versions before querying.

How to Fix

1Verify the client application correctly applies the diff (manipulation) to its local base version to reconstruct the complete resource.

Framework-Specific Examples

Express router handling A-IM delta encoding headers.

Express Example
app.get('/feed', (req, res) => {
  res.status(226).set('IM', 'feed').send('<diff></diff>');
});

Server Configuration Examples

Allowing A-IM headers proxy pass configuration.

Nginx Config
proxy_pass_header A-IM;
proxy_pass_header IM;

Prevention

  • Use robust delta-generation libraries (e.g. VCDIFF implementations).
  • Verify connection ETag tags are generated consistently.

Frequently Asked Questions (FAQ)

Q: What does 'IM' stand for in 226 IM Used?

IM stands for Instance Manipulation. It refers to the specific algorithm or technique used to generate the delta/diff representation (e.g., feed diffs or vcdiff compression).

Q: What header is used to request Delta encoding?

The client must send the 'A-IM' (Accept-Instance-Manipulation) request header containing supported manipulation formats.

Q: Why is Delta encoding rarely used?

It adds complexity to the server cache layer and requires maintaining multiple diff baselines. Modern APIs prefer using timestamp query filters.

Q: What is returned in the ETag header during a 226 response?

The ETag header returns the entity tag representing the target resource *after* applying the manipulations, not the base version.

Still having this problem?

Didn't solve your problem?

SuggestRequest Error