Skip to content

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