What
ANTHROPIC_CUSTOM_HEADERS is an environment variable for adding your own headers to Claude Code's requests. Claude Code now reads it with one shared function. Before, each place split the value into lines and each line at its first colon.
Why
Most values should read the same as before. Unusual values, near the edges of the Name: Value format, could now be read differently.
Names in the bundleANTHROPIC_CUSTOM_HEADERS
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
It is not clear whether the shared function reads any value differently from the old line-and-colon split.
Anthropic's release notes agree
Bedrock, Vertex, Mantle: Fixed model availability checks under CLAUDE_CODE_SKIP_*_AUTH sending a different Authorization header than real…