[PR #797] [MERGED] Fix WithHeader when using RejectOnMatch #1086

Closed
opened 2025-12-29 08:34:37 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/wiremock/WireMock.Net/pull/797
Author: @flts
Created: 8/23/2022
Status: Merged
Merged: 8/23/2022
Merged by: @StefH

Base: masterHead: bugfix/796-fix-header-rejectonmatch


📝 Commits (1)

  • 14f8ea8 Fixes header match handling using RejectOnMatch behavior

📊 Changes

3 files changed (+94 additions, -2 deletions)

View changed files

📝 src/WireMock.Net/Matchers/Request/RequestMessageHeaderMatcher.cs (+1 -1)
📝 test/WireMock.Net.Tests/RequestMatchers/RequestMessageHeaderMatcherTests.cs (+17 -1)
📝 test/WireMock.Net.Tests/RequestTests.cs (+76 -0)

📄 Description

Fixes #796


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/wiremock/WireMock.Net/pull/797 **Author:** [@flts](https://github.com/flts) **Created:** 8/23/2022 **Status:** ✅ Merged **Merged:** 8/23/2022 **Merged by:** [@StefH](https://github.com/StefH) **Base:** `master` ← **Head:** `bugfix/796-fix-header-rejectonmatch` --- ### 📝 Commits (1) - [`14f8ea8`](https://github.com/wiremock/WireMock.Net/commit/14f8ea888da08b31b36a8a560e27d801af0c89d2) Fixes header match handling using RejectOnMatch behavior ### 📊 Changes **3 files changed** (+94 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/WireMock.Net/Matchers/Request/RequestMessageHeaderMatcher.cs` (+1 -1) 📝 `test/WireMock.Net.Tests/RequestMatchers/RequestMessageHeaderMatcherTests.cs` (+17 -1) 📝 `test/WireMock.Net.Tests/RequestTests.cs` (+76 -0) </details> ### 📄 Description Fixes #796 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 08:34:37 +01:00
adam closed this issue 2025-12-29 08:34:37 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/WireMock.Net#1086