Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IE9 XDomainRequest content-type headers possible? #15

Open
chrisan opened this issue Mar 30, 2015 · 1 comment
Open

IE9 XDomainRequest content-type headers possible? #15

chrisan opened this issue Mar 30, 2015 · 1 comment

Comments

@chrisan
Copy link

chrisan commented Mar 30, 2015

I noticed this TODO in the source:

// TODO: XDomainRequest only accepts text/plain Content-Type header

// TODO: XDomainRequest doesn't like other headers

Also this from MS http://blogs.msdn.com/b/ieinternals/archive/2010/05/13/xdomainrequest-restrictions-limitations-and-workarounds.aspx

Curious what you had min mind for a workaround, if anything for this

@victorquinn
Copy link
Owner

Umm, I didn't have anything in mind for a workaround.

The second comment there was just a reference to number (3) from the article you linked (I actually linked to the same article in the source).

Since XDomainRequest won't accept any content-type or custom headers, there is no workaround provided for this library as it can't reliably work. The workaround I suppose, if you want to support IE with this library is "don't rely on content-type headers" in your code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants