mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 22:30:41 +01:00
WithoutHeader fluent assertion #564
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jvmlet on GitHub (Dec 25, 2023).
Originally assigned to: @StefH on GitHub.
Please support
WithoutHeaderinWireMockAssertionsThanks
@StefH commented on GitHub (Dec 25, 2023):
https://github.com/WireMock-Net/WireMock.Net/pull/1049
@StefH commented on GitHub (Dec 25, 2023):
@jvmlet
Can you check the PR if this is what you need?
@StefH commented on GitHub (Dec 26, 2023):
If you want, you can try preview version 1.5.46-ci-18207
@jvmlet commented on GitHub (Dec 26, 2023):
Thanks @StefH , would you please add
WithoutHeader(string name), regardless the value ?We integrated
HeadersPropagationextension from MS and I want to make sure some headers don't leak to downstream services, no matter what the value is.@StefH commented on GitHub (Dec 26, 2023):
The problem is that I cannot keep that proposed method definition.
That because and becauseArgs will make the other existing WithoutHeader methods invalid.
So I can do:
or / and
@jvmlet commented on GitHub (Dec 26, 2023):
WithoutHeaderKeylooks great, thanks a lot.