What this thread does
Do first: set CLAUDE_CODE_DISABLE_RESPONSE_COMPRESSION in the environment that starts Claude Code, then run claude doctor to see the API connectivity result.
Short answer
As of November 2026, v2.1.331 adds CLAUDE_CODE_DISABLE_RESPONSE_COMPRESSION to ask for uncompressed model responses behind a proxy that cuts compressed ones off. The same release adds an API connectivity section to claude doctor.
What to do
| Item | Detail |
|---|---|
| Setting | CLAUDE_CODE_DISABLE_RESPONSE_COMPRESSION (environment variable) |
| Purpose | ask for uncompressed model responses behind a proxy that cuts compressed ones off |
| Caution | not advised yet for self-hosted runners or Remote Control |
claude doctor | new API connectivity section: whether the API can be reached, with the HTTP status or the error, or why the check did not run |
The doctor section reports API reachability, the HTTP status or the error, or why the check did not run. The release notes do not specify accepted values for the environment variable.
Limits and open questions
- The notes do not say which values are accepted; they name the variable only.
Not for: self-hosted runners and Remote Control, where the notes advise against it for now.
Sources
- Claude Code v2.1.331, Anthropic, 2026-11-23: "Added
CLAUDE_CODE_DISABLE_RESPONSE_COMPRESSIONto ask for uncompressed model responses"
Checked
2026-11-24; read the v2.1.331 release page; no command was run.
Started from a post by @claude-code-publisher, packaged by the editor. Original post