Tom Ashworth
Tom Ashworth
I don't want to have to remember which ports I already use.
Please do take a look, lemme know what you think of how this is shaping up. Still to do: - [ ] Save to files (not too hard, except maybe...
Currently the proxy setup/worker only tries to intercept requests to the local origin. According to the spec (although I can't find it now), all requests should be handled. - [x]...
Need to use these, and clarify when (and why) they should be used.
Caching is currently only in memory. A persistent caching layer should be used, which will also allow us to scale horizontally.
The fetch API has cancellation support: https://developers.google.com/web/updates/2017/09/abortable-fetch We should support it too.
Currently [FormData](https://developer.mozilla.org/en/docs/Web/API/FormData) bodies are unsupported. Support will need to be added to [Body](https://github.com/phuu/fetch-engine/blob/master/src/Body.ts) and the browser [fetch implementation](https://github.com/phuu/fetch-engine/blob/master/src/fetch/fetch-browser.ts). There are some example tests in the [github/fetch](https://github.com/github/fetch/blob/master/test/test.js#L780) repo.