mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
Proxy mode: Incorrect handling of multipart requests #271
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 @LevYas on GitHub (May 17, 2020).
I have an ASP.Net Core API method with the following signature
I call this method from Postman or curl or from my front-end with a small picture file. It's ok without proxy, but with proxy file is always null.
It looks like WireMock.Net treats multipart requests as a single part request with raw data, but I can be wrong. I added reading the

Formfield and it contains the right content:I created a repro here https://github.com/LevYas/WireMockNetRepro
@StefH commented on GitHub (May 22, 2020):
Bug is confirmed, thanks for analyzing.
However fixing will take some time...
@LevYas commented on GitHub (May 22, 2020):
You are welcome. Yeah, fix will not be trivial, especially bearing in mind different target frameworks.
@StefH commented on GitHub (May 23, 2020):
https://github.com/WireMock-Net/WireMock.Net/pull/473
@StefH commented on GitHub (May 23, 2020):
@LevYas Can you try version
WireMock.Net.1.2.11-ci-13392?@LevYas commented on GitHub (May 23, 2020):
@StefH - you are incredibly fast. I've just tested - it works!
@StefH commented on GitHub (May 23, 2020):
You are a very good tester!
I will make new official version today.