Update test/component/Elsa.Workflows.ComponentTests/Scenarios/Activities/Http/HttpEndpointSecurityAndEdgeCasesTests.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
4712782e6d
commit
46004b33c4
|
|
@ -68,7 +68,7 @@ public class HttpEndpointSecurityAndEdgeCasesTests(App app) : AppComponentTest(a
|
|||
var client = WorkflowServer.CreateHttpWorkflowClient();
|
||||
|
||||
// Create properly malformed multipart content by using StringContent with manually crafted headers
|
||||
var malformedContent = new StringContent(
|
||||
using var malformedContent = new StringContent(
|
||||
"--boundary\r\nContent-Disposition: form-data; name=\"test\"\r\n\r\nvalue\r\n--boundary--",
|
||||
Encoding.UTF8);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue