jpillora / xhook

Easily intercept and modify XHR request and response
http://jpillora.com/xhook
MIT License
988 stars 158 forks source link

facade is missing responseType, but some clients expect to see it #177

Open raindrift opened 4 months ago

raindrift commented 4 months ago

I have run into an issue where some clients seem to check for the existence of the responseType property on the xhr before setting it, but then depend on it being present.

The solution was pretty simple, just add responseType with the default value of empty string to the facade, along with the other properties. PR forthcoming.

raindrift commented 4 months ago

Ok! PR is #178