Javascript 错误:post请求的正文不是格式良好的多部分/表单数据
在使用IE和发布到AWS时,出现以下错误 这是我的ajax请求Javascript 错误:post请求的正文不是格式良好的多部分/表单数据,javascript,jquery,html,amazon-web-services,amazon-s3,Javascript,Jquery,Html,Amazon Web Services,Amazon S3,在使用IE和发布到AWS时,出现以下错误 这是我的ajax请求 $.ajax({ type: 'POST', url: postingurl, //s3 bucket url data: fd, processData: false, // contentType: false, // This not worked // contentType: "multipart/form-data", // This
$.ajax({
type: 'POST',
url: postingurl, //s3 bucket url
data: fd,
processData: false,
// contentType: false, // This not worked
// contentType: "multipart/form-data", // This also not worked
error: function(xhr, ajaxOptions, thrownError) {
alert(xhr.responseText); // error is the title of this question
}
}).done(function(data) {
// Success
});
也尝试删除内容类型。这在Mozilla和Chrome中运行良好
不在IE中工作。我正在使用IE 10。任何指针?运行Fiddler Proxy,将工作请求与失败的IE请求进行比较。运行Fiddler Proxy,将工作请求与失败的IE请求进行比较。