mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
Header not being returned when set in WithCallback #343
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 @GrantGHub on GitHub (Apr 15, 2021).
Originally assigned to: @StefH on GitHub.
Upgraded from 1.2.14 to 1.4.9. Was setting the header in WithCallback. This was correctly coming through. Now no headers are returned.
Taking the example tests and adjusting it (removing .WithHeader(header, "Stef");), should return the header set within WithCallback:
Headers are coming back empty.
response.Message.Headers.Count == 0true
@StefH commented on GitHub (Apr 15, 2021):
@GrantGHub Thanks for finding this.
@StefH commented on GitHub (Apr 15, 2021):
https://github.com/WireMock-Net/WireMock.Net/pull/603
New version will be released shorty.
@GrantGHub commented on GitHub (Apr 16, 2021):
Thank you for such a fast turn around. I have retrieved the latest and confirm the issue has been resolved.
Thanks again for the responsiveness to this request. Appreciate it.