Closed richardhopton closed 5 years ago
After debugging the bytes of the incoming request Body, it only has new line characters and no carriage returns which BufferedReadStream requires to delimiter lines. It sounds like this needs to be changed.
Any update on this? I got this error to.
That format is invalid, what client is sending it?
@Tratcher I'm with .NET Framework and reciving in a asp.net core site, the library is from nuget, we fix the issue, it wast related to the result of the query from the db, we compress and aencrypt the result from the query and send it through http, we solved by ading some missing CRLF
?? What software is sending invalid multipart requests to your server?
@Tratcher a console app is reading datta from DB2 using oledb
I don't understand how DB2 relates to sending a multipart message. You're going to need to supply some sample code, preferrably as a runnable github repo.
Closing this as we haven't heard from you. Please feel free to comment if you're able to get the information we're looking for and we can reopen the issue if we're able to identify the problem.
When making the following request on my mac: -
Against the following controller method: -
I receive the following response: -
If I wrap the Request.Form access in a try catch the following exception stack trace is throw: -