Does Fineuploader have a workaround for custom headers in Internet Explorer 9? -


i need send csrf token along image uploads. using request.customheaders works great in browsers except ie <= 9

this.uploader = new qq.fineuploader({   request: {     customheaders: {       'x-csrf-token': csrf-token     }   } }); 

i don't care ie8 need send csrf token uploads in ie9. how do when fineuploader doesn't support customheaders:

console.log('ie9 custom header supported: ', qq.supportedfeatures.uploadcustomheaders()); // ie9 custom header supported: false 

since uploads must implemented forms submits target hidden iframes in ie9 , older, there no way send custom headers request.

you have 2 options:

  • parameters (sent in payload of form submit post request)
  • cookies (which sent along request browser)

Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -