Skip to content

fix(verifier): custom headers replace pact headers regardless of name case - #27

Open
YOU54F wants to merge 1 commit into
masterfrom
fix/verifier-custom-header-case
Open

YOU54F wants to merge 1 commit into
masterfrom
fix/verifier-custom-header-case

Conversation

@YOU54F

@YOU54F YOU54F commented Nov 9, 2026

Copy link
Copy Markdown
Owner

Commits

fix(verifier): custom headers replace pact headers regardless of name case

Header names are case-insensitive, but the check that skips pact headers
overridden by a custom header compared names exactly. A pact header
authorization was therefore sent alongside the custom Authorization
default header, and the provider saw the pact value.

Fixes pact-foundation#430

🤖 Generated with Claude Code

… case

Header names are case-insensitive, but the check that skips pact headers
overridden by a custom header compared names exactly. A pact header
`authorization` was therefore sent alongside the custom `Authorization`
default header, and the provider saw the pact value.

Fixes pact-foundation#430

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adding custom header is not able to overwrite existing header

1 participant