maptalks / maptalks/maptalks.js
Add fetch support in Ajax
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- HTML
- Stars
- 4.5k
- Forks
- 511
- Avg merge
- 3d 58m
- Merged PRs (30d)
- 1
Description
Add support of fetch in Ajax.js if it's available.
XHR missed referer header in HTTP request, fetch can fix this issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating Ajax.js and reading how existing XHR requests are created and completed. Add fetch support when it is available while preserving the existing fallback, then verify that requests include the referer information described in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100