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
Post a Comment