-
Notifications
You must be signed in to change notification settings - Fork 508
Add fetch support in Ajax #863
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
Comments
Could you provide the part where it has to be added? |
https://github.com/maptalks/maptalks.js/blob/master/src/core/Ajax.js The fetch support should be smooth and transparent, my thoughts here:
|
Cool...gonna work on this |
@fuzhenn I guess Browser doesn't use fetch call...could you provide me with the line where the XMLHttpRequest is used? |
What I think is functions like getClient need to be checked for browser support I am not wrong |
Yes, you are right. |
Add support of fetch in Ajax.js if it's available.
XHR missed referer header in HTTP request, fetch can fix this issue.
The text was updated successfully, but these errors were encountered: