mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
Issue: DELETE method is proxied as lowercase #142
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 @r-kolbovich on GitHub (Sep 17, 2018).
Originally assigned to: @StefH on GitHub.
I noticed quite strange behavior of wiremock when it proxies requests to another server.
'GET', 'POST', 'PUT' methods, are proxied uppercase. But 'DELETE' method behaves different: after proxying it becomes 'delete'.
Below you can find a gif where I demonstrate this issue.

Below is my code, which just proxies everything to http://httpbin.org - simple online REST API for debugging. I've used latest version of WireMock.Net (1.0.4.16):
@StefH commented on GitHub (Sep 17, 2018):
I did not catch which dotnet version you are using?
@r-kolbovich commented on GitHub (Sep 17, 2018):
.NET Framework 4.6.1
@StefH commented on GitHub (Sep 19, 2018):
This is indeed a bug. I'm investigating this and already have a fix ready. I keep you updated here on the progress.
@StefH commented on GitHub (Sep 22, 2018):
Solved in new package (soon to be added to NuGet)