I'm using XDomainRequest in IE8 & 9 to send requests to a server. With XMLHttpRequests in other browsers, both an Origin and Referer header are sent, and could look like this:
Origin: http://www.example.com
Referer: http://www.example.com/mypage/index.htm
But XDomainRequest only sends the Origin (so I don't see the full calling URL). Is there a way to force it to also send the Referer? I'm trying to avoid sending it as a query string or POST parameter.
I know that XDomainRequest doesn't allow custom headers, but I'm hoping that because Referer is a standard header there might be some way to enable it.