How to pass multiple custom headers via ANTHROPIC_CUSTOM_HEADERS

Status Fixed / completed
Maintainer reply None cached
Activity 3 comments · opened Jun 9, 2025 · closed Jun 17, 2025

This is a follow up from https://github.com/anthropics/claude-code/issues/321.

With ANTHROPIC_CUSTOM_HEADERS="Header1: Value1" I can pass in a single header, but there are no instructions on how to pass multiple headers. I tried to set ANTHROPIC_CUSTOM_HEADERS to an array or object but neither worked.

Is this currently not supported?

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗