parse-multipart-data
parse-multipart-data copied to clipboard
Newline logic only matches `\r\n` and not `\n` alone
Unless I'm mistaken, this means this package won't work on non-windows-based platforms.
It works fine on Linux (Pop-os latest Ubuntu)
Can verify. I had to use \r\n EoL when writing tests
This issue is rather old, but if I'm not mistaken the \r\n line endings are part of the multipart/form-data specification and that's why the parser tries to detect them.