cferdinandi / cferdinandi/atomic

Make it possible to provide FormData transparently

Open
#60 10 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
HTML
Stars
540
Forks
71
PR merge metrics
No merged PRs in 30d

Description

Hey,

I really like the simplicity of atomic.js. Yesterday I ran into a problem, though.

I want to upload a file via a FormData. However if I provide FormData to atomic.js (in contrast to just a simple object) it fails.

Would it be possible to enhance atomic.js so that if provided data is of type FormData atomic just passes it through to the xhr request?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.