Is it possible to intercept preflight requests from cors requests?
Open
Nobody has claimed this yet.
- Dominant language
- Bikeshed
- Stars
- 3.6k
- Forks
- 324
- Avg merge
- 14d 22h
- Merged PRs (30d)
- 1
Description
I understand the necessity of putting service worker interception before cors preflight requests 😀.
But like that service workers over HTTP are enabled for local development, is it possible to intercept preflight requests on localhost/127.x.x.x or via some browser flags?
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
No file, test, or entry point is named. Start by reviewing the Service Worker specification and the browser handling of CORS preflight requests, then determine whether localhost or browser flags provide an interception path. Done means documenting a confirmed answer and the relevant constraints.
Written by the indexing model from the issue text.
Assessment
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100