-
-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: adopt Fetch API Request and Response (#292)
* feat(ClientRequest): support fetch api Response * feat(XMLHttpRequest): support fetch api Response * test(fetch): support fetch api Response * feat(XMLHttpRequest): support fetch api Response in the browser * feat: prevent nested intercepted requests * chore: continue with tests * chore: regenerate yarn.lock * docs: update the readme * feat: include "lib.dom" to annotate Response * fix: remove anything isomorphic response * feat(ClientRequest): support fetch api Request * chore: support fetch api Request everywhere else * docs: update readme with fetch api Request * test(ClientRequest): add "createRequest" unit test * chore: remove unused code * chore(ClientRequest): add the "passthrough" method * chore: fix browser tests * fix(XMLHttpRequest): return ArrayBuffer for "arraybuffer" response types * fix(XMLHttpRequest): keep "status" as 0 for unresolved requests * chore: fix credentials helpers * feat: include "requestId" in emitted events * chore(ClientRequest): remove unnecessary request header abstraction * feat: support modifying outgoing request headers * chore: use "createRequestWithCredentials" * test(xhr): fix raw headers test
- Loading branch information
1 parent
aff787e
commit cc888f1
Showing
96 changed files
with
2,246 additions
and
2,109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.