ajax icon indicating copy to clipboard operation
ajax copied to clipboard

xhrFields not supported?

Open tiye opened this issue 10 years ago • 1 comments

I tried this component to replace jQuery in a project where I use cross-domain requests. But to found new requests does not carry cookes with it. And in source code I can not find such string named xhrFields. So it's not supported?

tiye avatar Jun 29 '14 15:06 tiye

You can set those field in the beforeSend function:

For example:

beforeSend: function( xhr ) {
              debugger;
              xhr.withCredentials = true;
            }

licx avatar Feb 24 '17 20:02 licx