On upgrading to 9.1.0 noticed a change in behavior and an argument null exception for encoding when using a StreamingMultipartFormDataParser with only a stream in the constructor. On Run(Async) it tries to use the Encoding property, but that was not set (and the default encoding is not used). The bug seems to have been introduced through #127 .
|
ParameterHandler?.Invoke(new ParameterPart(binaryParameterPart.Name, binaryParameterPart.ToString(Encoding))); |
Will be submitting a PR shortly.
On upgrading to 9.1.0 noticed a change in behavior and an argument null exception for encoding when using a
StreamingMultipartFormDataParserwith only a stream in the constructor. OnRun(Async)it tries to use theEncodingproperty, but that was not set (and the default encoding is not used). The bug seems to have been introduced through #127 .HttpMultipartParser/Source/HttpMultipartParser/StreamingMultipartFormDataParser.cs
Line 169 in 1d9b4bf
Will be submitting a PR shortly.