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

Copes with responseText getting returned for xml rather than responseXml #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gilesbradshaw
Copy link

Hi I was using TinyWeb for some reason this returns an xml file as application/xml rather than text/xml

This means response.xhr is null

So I made a little mod whereby if responseXml is null it loads up responseText instead

(works in internet explorer even without this mod but not in chrome + firefox)

umq pushed a commit to umq/magicxml that referenced this pull request Feb 8, 2018
Microsoft Edge returns null when Content-Type does not suit
see also: t-davies#5
umq pushed a commit to umq/magicxml that referenced this pull request Feb 8, 2018
Microsoft Edge returns null when Content-Type does not suit
see also: t-davies#5
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

Successfully merging this pull request may close these issues.

2 participants