Setting headers in XDomainRequest or ActiveXObject('Microsoft.XMLHTTP')

Posted by bobthabuilda on Stack Overflow See other posts from Stack Overflow or by bobthabuilda
Published on 2010-04-17T04:03:59Z Indexed on 2010/04/17 4:13 UTC
Read the original article Hit count: 368

I'm trying to do something like this:

xhr.setRequestHeader( 'X-Requested-With', 'XMLHttpRequest' );

For ActiveXObject('Microsoft.XMLHTTP') and XDomainRequest (IE8). I'm having no such luck finding it anywhere in microsoft documentation or even google. Any idea how I can achieve this?

© Stack Overflow or respective owner

Related posts about activex

Related posts about internet-explorer