Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.277 ·

Custom LLM gateway provider headers validated for safety

Custom LLM gateway header settings are now validated for valid names, no duplicates, and no collisions with reserved headers

TierYou'll noticehow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaElsewherewhat it touches
KindImprovementsin v2.1.277,
You'll notice

Custom LLM gateway header settings are now validated for valid names, no duplicates, and no collisions with reserved headers

What

If you configure a custom anthropic provider (an LLM gateway) with custom HTTP headers in settings, Claude Code now checks that configuration more strictly:

  • Header names must be valid HTTP header names
  • The same header name can't appear twice, even with different capitalization
  • Header names can't collide with reserved headers that the gateway or the provider's own SDK already sets or signs
  • Header values must be non-empty, printable ASCII text with surrounding whitespace trimmed
Why

This catches misconfigured or conflicting custom headers before they cause confusing request failures, and prevents a user-supplied header from accidentally overriding one the gateway relies on for authentication or signing.

See this entry in the whole of v2.1.277 →