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:
Stef HeyenrathandCopilot Autofix powered by AI authored and GitHub committed 2026-12-06 15:50:26 +01:00
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,