mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 22:30:41 +01:00
Admin requests fail when content type includes a charset #216
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 @paulroub on GitHub (Sep 30, 2019).
Originally assigned to: @StefH on GitHub.
When POSTing a mapping request from C#, by default a "charset=utf-8" parameter is added to the Content-Type header. This causes the request to fail with
Remove the charset and the request succeeds.
Easily reproducible with curl. This succeeds:
whereas this fails:
@StefH commented on GitHub (Oct 2, 2019):
You can try MyGet version:
WireMock.Net.1.0.32-ci-11942.nupkg
@StefH commented on GitHub (Oct 5, 2019):
@paulroub did you have time to test?
@paulroub commented on GitHub (Oct 5, 2019):
Yes, sorry - all good!
On Sat, Oct 5, 2019 at 3:53 AM Stef Heyenrath notifications@github.com
wrote: