Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate? #12

Open
jimmywarting opened this issue Aug 27, 2021 · 1 comment
Open

Deprecate? #12

jimmywarting opened this issue Aug 27, 2021 · 1 comment

Comments

@jimmywarting
Copy link

jimmywarting commented Aug 27, 2021

... in favor of spec compatible FormData implementations.

There are at least 2 other FormData multipart pkg on npm

Both of which supports appending Blob + File like items. So calculating content-length without reading a stream or anything like that is in a since better.
Both also runs some WPT tests to be spec compatible with generating correct filenames and stuff
and has all the methods that are needed.

@perry-mitchell
Copy link

@jimmywarting It looks like your formdata-polyfill doesn't support streams as values in multi-part sections, whereas this library does. Any plans on adding this? Imo without it this library is still very relevant.

The formdata-node implementation of stream handling is verbose and honestly a PITA compared to this library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants