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

Let xhr handles FormData object #31

Merged
merged 1 commit into from
Jun 4, 2018
Merged

Conversation

cherifGsoul
Copy link
Member

@cherifGsoul cherifGsoul commented Apr 23, 2018

This fixes #29
Because XHR can handle FromData object natively, can-ajax should not stringify the data object when it is an instance of FormData.
I don't know if it really needs a test case, if any one can help with a better test is really appreciated.

@phillipskevin phillipskevin merged commit 094a55b into master Jun 4, 2018
@phillipskevin phillipskevin deleted the fix-xhr-formdata branch June 4, 2018 14:15
@phillipskevin
Copy link
Contributor

This is published in https://github.com/canjs/can-ajax/releases/tag/v1.2.0.

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

Successfully merging this pull request may close these issues.

Handle FormData Object
3 participants