⌨️CLAUDE_CODE_GZIP_REQUEST_BODIES
Also known as CLAUDE_CODE_GZIP_REQUEST_BODIES=0
Set to 0, it stops Claude Code from squeezing its requests.
Think of it like
It is like you send a box flat, not squashed. Then the mail checker can read it.
Example
Lucy's office proxy reads all traffic and chokes on gzip. Her requests fail with odd errors until she sets this to 0.
Why it matters
It fixes a strange failure that only shows up on some company networks.
Definition
Example code
bash
export CLAUDE_CODE_GZIP_REQUEST_BODIES=0
claudeCommon mistake
Key takeaways
- 10 turns it off. No gzip.
- 2On by default. Direct links only.
- 3For odd proxies. That break on gzip.