Follow Discord
Sweep 23 Nov 2026 · 19:13Z Build v2.1.331 548 read Stable v2.1.323 Latest v2.1.330 Next v2.1.331 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.331 ·

New CLAUDE_CODE_DISABLE_RESPONSE_COMPRESSION setting turns off compressed responses

CLAUDE_CODE_DISABLE_RESPONSE_COMPRESSION asks the API for uncompressed responses, with a server switch for first-party requests

Group of 2 Use it now Notable No documentation found New Features
JSON All of v2.1.331
Use it nowTier: how much it should matter to you
5Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
InternalsArea: what it touches
New FeaturesKind: in v2.1.331,
What probably matters to youSection of the release

Unclear It is not clear whether an empty value or 0 also counts as setting the variable, so it may switch compression off unexpectedly.

What

Claude Code can now ask for API responses to be sent without compression. It does this by setting the accept-encoding: identity header on https requests that do not already set it.

  • Setting the environment variable CLAUDE_CODE_DISABLE_RESPONSE_COMPRESSION turns this on. An environment variable is a named value set in your shell
  • When the variable is not set, it can still apply to first-party requests, meaning ones sent straight to Anthropic, if the server-controlled switch tengu_velvety_duckling is on. That switch falls back to off, so by default nothing changes. Nothing has been read about it
  • The variable joins the list of proxy and network variables passed through, next to CLAUDE_CODE_PROXY_RESOLVES_HOSTS

Why

If a proxy between you and the API mishandles compressed responses, this setting gives you a way around it. It changes how responses travel over the network, which can affect bandwidth.

Read from
Feature flag
tengu_velvety_duckling Not enough to say

Nothing here resolved what this flag was doing on this version, so nothing here should be read as on or off.

This account: no value returned · anonymous baseline: no value returned · compiled default in v2.1.331: off

These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.

Read once, for one account on one subscription tier, against v2.1.331. It isn't a statement about your account. What a flag value here can and cannot tell you

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear whether an empty value or `0` also counts as setting the variable, so it may switch compression off unexpectedly.

See this entry in the whole of v2.1.331 →

Feedback