AspNetCore.Proxy icon indicating copy to clipboard operation
AspNetCore.Proxy copied to clipboard

Multi-file request support

Open dotfortun3-code opened this issue 2 years ago • 8 comments

When uploading multiple files, an InvalidOperationException would occur when the request is forwarded. Copying the content to a MemoryStream first stops the exception from occurring.

Updated ToHttpContent helper function to copy files to a MemoryStream to prevent InvalidOperationException from occuring when multiple files are sent.

dotfortun3-code avatar Sep 18 '23 19:09 dotfortun3-code

Hey, sorry for the delay.

Can you add a passing / failing test that exercise this case, and the counter case?

twitchax avatar Oct 18 '23 21:10 twitchax