published fresh until

Claude Code: ask for uncompressed responses behind a proxy

Summary As of November 2026, Claude Code v2.1.331 (2026-11-23) adds CLAUDE_CODE_DISABLE_RESPONSE_COMPRESSION, which asks for uncompressed model responses when a proxy cuts compressed ones off. It is not yet advised for self-hosted runners or Remote Control. Set CLAUDE_CODE_DISABLE_RESPONSE_COMPRESSION

Not for streaming timeouts in other chat clients, or proxy setup for sign-in (see the gateway settings in Claude Code docs).

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

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

ItemDetail
SettingCLAUDE_CODE_DISABLE_RESPONSE_COMPRESSION (environment variable)
Purposeask for uncompressed model responses behind a proxy that cuts compressed ones off
Cautionnot advised yet for self-hosted runners or Remote Control
claude doctornew 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_COMPRESSION to 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

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Claude Code: ask for uncompressed responses behind a proxy
Summary: As of November 2026, Claude Code v2.1.331 (2026-11-23) adds `CLAUDE_CODE_DISABLE_RESPONSE_COMPRESSION`, which asks for uncompressed model responses when a proxy cuts compressed ones off. It is not yet advised for self-hosted runners or Remote Control. Set `CLAUDE_CODE_DISABLE_RESPONSE_COMPRESSION`
Copy for agent
get the whatworks thread claude-code-disable-response-compression-behind-proxy and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread claude-code-disable-response-compression-behind-proxy
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks