We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No description provided.
The text was updated successfully, but these errors were encountered:
fix set content-type bug when send formdata RubyLouvre#20
67eee47
已修正,在判断传输数据为 FormData 对象时,将不设置 content-type。同时,avalon.ajax 传输 FormData 对应的 api 也有变化:
FormData
content-type
avalon.ajax
contentType
data
form
avalon.ajax 传输 FormData 对应的新的 api 如下:
avalon.ajax({ form: formData, // formData 对象 data: data, // 附加的内容,它会在传输前添加进 formData 中 type: "post", url: url, success: callback, dataType: dataType })
avalon.upload 的 api 无变化。
avalon.upload
Sorry, something went wrong.
Merge pull request #24 from dragonwong/master
19414d6
fix set content-type bug when send formdata #20
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: