mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-12-06 23:16:38 +01:00
Only load MimeKitUtils when request message is multipart (#1554)
* Only load MimeKitUtils when request message is multipart * preload * Potential fix for pull request finding 'Missing Dispose call on local IDisposable' Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
3f3e576750
commit
5c6ceebd48
14 files changed
+199
-41
No files matched your search
@@ -21,6 +21,8 @@ public static class MainApp
|
||||
{
|
||||
using var server = WireMockServer.Start(new WireMockServerSettings
|
||||
{
|
||||
PreloadMimeKitUtils = true,
|
||||
|
||||
Port = 9091,
|
||||
StartAdminInterface = true,
|
||||
|
||||
|
||||
Reference in new issue
Block a user