Claude Code v2.1.239 · 21 Aug 2026
Bedrock streaming responses without a content-type no longer fail
Bedrock streaming replies missing a content-type now work, and a new env var restores the old strict check.
Use it now Notable
No documentation found Bug Fixes
Copy link
Copy markdown
JSON
All of v2.1.239
Use it now Tier: how much it should matter to you
4 Useful: my rating, 1 to 5
3 Signal: worth watching, 1 to 5
Bedrock Area: what it touches
Bug Fixes Kind: in v2.1.239, 21 Aug 26
What probably matters to you Section of the release
What
A Bedrock streaming response that arrives with no content-type header at all is now treated as application/vnd.amazon.eventstream instead of being rejected. Set CLAUDE_CODE_DISABLE_BEDROCK_CONTENT_TYPE_DEFAULT to turn the defaulting off and get the old strict behaviour.
Details
Only applies when the header is absent; a wrong content-type still fails the check. Separately, the default AWS credential chain now builds its STS endpoint through a region helper instead of pasting the region into a hardcoded URL.
How sure we are
One source agrees One thing we can check says the same as this entry.
The name it cites is new in this build New in this build: CLAUDE_CODE_DISABLE_BEDROCK_CONTENT_TYPE_DEFAULT
See this entry in the whole of v2.1.239 →
21 Aug 2026 · 300 entries, this one is #39.
Use it now41 You'll notice160 Nothing to try yet37 Under the hood62
Open the release →
Names in this entry
env CLAUDE_CODE_DISABLE_BEDROCK_CONTENT_TYPE_DEFAULT Set to 1 to stop Claude Code from treating an Amazon Bedrock streaming response with a missing or empty Content-Type header as Amazon Bedrock's binary event stream. By default, Claude Code assumes a gateway dropped the header from an otherwise unmodified response, so it decodes the body and streaming keeps working. Set this only for a gateway that also re-emits the stream as server-sent events; Claude Code then reads the header-less body as server-sent events instead. Requires Claude Code v2.1.239 or later
Is this right?
0
0
Feedback
What's wrong with this entry?
Hard to understand Too vague Looks wrong Not relevant to me Too long Missing the detail I wanted Duplicate of another card
Clear Learned something new I can act on this Good catch
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
← Previous · 38 of 300
Artifacts can be deleted, and the model is told when one is gone
Use it now Artifacts
In v2.1.239 What probably matters to you release-page order
Next → · 40 of 300
Artifacts are HTML-only
You'll notice Artifacts