{"version":"2.1.287","anchor":"custom-headers-parsing-moved-to-shared-helper","canonical_anchor":"custom-headers-parsing-moved-to-shared-helper","heading":"ANTHROPIC_CUSTOM_HEADERS is read by a shared helper","tier":"internal","area":"API","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.287\/e\/custom-headers-parsing-moved-to-shared-helper","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.287","markdown":"### ANTHROPIC_CUSTOM_HEADERS is read by a shared helper\n\nClaude Code now reads `ANTHROPIC_CUSTOM_HEADERS` through a single shared function instead of separate inline code\n\n**Unclear.** It is not clear whether the shared function reads any value differently from the old line-and-colon split.\n\n**What**\n\n`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.\n\n**Why**\n\nMost values should read the same as before. Unusual values, near the edges of the `Name: Value` format, could now be read differently.\n\n- Area: API\n- Names: `ANTHROPIC_CUSTOM_HEADERS`\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 0\/5"}