- Clone header maps in WithMCPHeaders/MCPHeaders to prevent concurrent mutation (maps are shared across goroutines via context). - Trim whitespace from header names extracted from InboundContext.Raw to prevent invalid HTTP header names. - Add unit tests for headerTransport dynamic header injection: dynamic-only, dynamic-overrides-static, and no-dynamic passthrough. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| events.go | ||
| isolated_command_transport.go | ||
| manager.go | ||
| manager_test.go | ||