posva / mande

<700 bytes convenient and modern wrapper around fetch with smart extensible defaults
https://mande.esm.is
MIT License
1.19k stars 42 forks source link

Fix default Content-Type for FormData, fixes #447 #448

Closed ArchiDevil closed 8 months ago

ArchiDevil commented 9 months ago

What kind of change does this PR introduce? (check at least one)

Does this PR introduce a breaking change? (check one)

The PR fulfills these requirements:

If adding a new feature, the PR's description includes:

posva commented 8 months ago

Thanks! I had to change the code to keep it small but I think it's fine to always delete the header when it's a formdata