fsprojects / FSharp.Data

F# Data: Library for Data Access
https://fsprojects.github.io/FSharp.Data
Other
814 stars 288 forks source link

Proposed fix to #1420 on extra newline before endBoundaryStream #1421

Closed kphuanghk closed 2 years ago

kphuanghk commented 2 years ago

As reported in #1420 , two extra bytes of newline is appended to the last Multipart Item, this PR aims to fix it.

Since extra newline removed, two existing test cases shall be revised to reflect this change:

I have tested several scenarios on number of files, format, size etc. upon the built FSharp.Data.dll and looks good.