-
-
Notifications
You must be signed in to change notification settings - Fork 756
fix: implement fetch per spec #928
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
Merged
Merged
Changes from 5 commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
fb9281e
fix: implement fetch per spec
ronag 866cc90
fixup: strict null check
ronag 217af2b
fixup: extractBody
ronag 0d40f36
fixup: body used
ronag ca62f2a
fixup: use instanceof Blob
ronag 2a6cdb1
fixup
ronag 3113392
fixup
ronag ffeba7b
fixup: isBodyReadable
ronag 7c288ea
fixup: localURLSOnly
ronag c03a784
fixup: timingAllow
ronag c611493
fixup: timingInfo
ronag 360530b
fixup: disregard any enqueuing
ronag 9c9fa53
fixup: strict cmp
ronag 9172bec
fixup: clone
ronag 362ef33
fixup: don't need to copy URL
ronag 1c42102
fix: Response init
ronag 883a56c
fixup: opaqueredirect
ronag 4724d36
fixup: avoid new Response
ronag 8647470
fixup: abort default err
ronag db693fc
fixup: url
ronag 6c0d4bd
fixup: don't use body.source when writing request body
ronag f81577a
fixup
ronag 515d6c1
fixup
ronag e475f5e
fixup: fixes from review
ronag 866e64b
fixup: check valid reason phrase
ronag e16955e
fixup: error messages
ronag c2eeb96
fixup: isBuffer
ronag 301dc8e
fixup: more error msg
ronag 9122f57
fixup: forbidden methods
ronag 74fbc20
fixup: node stream body does not violate spec
ronag 25485a0
fixup: error msgs
ronag 3344db1
fixup
ronag 9f2fd14
fixup
ronag 3bcf1a3
fixup
ronag b397500
fixup
ronag 52f6f83
fixup: chrome compat
ronag a8a9b6a
fixup
ronag 4ce55d3
fixup: error msgs
ronag af5866a
fixup
ronag 9f6d2e0
fixup: timingInfo
ronag 1e87e8d
fixup: comments
ronag 7bd95d5
fixup: prettier + standard --fix
ronag f71abfe
fixup: bad port + missing cond
ronag 41eae28
fixup: docs
ronag 2cf7293
fixup: move fetch to new folder
ronag 83adb4e
fixup: Dispatcher.fetch doesn't exist
ronag 387919b
fixup: link MDN docs
ronag efddfc2
fixup
ronag c3822cf
fixup: node fetch in CI
ronag abe0c68
fixup: terminate on onError
ronag 32aef9f
fixup
ronag 6f005a6
fixup: transmit request body algorithm
ronag a901f6c
fixup
ronag b6cb85d
fixup
ronag 53b3ab1
fixup
ronag 260cf8f
fixup
ronag File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| MIT License | ||
|
|
||
| Copyright (c) 2020 Ethan Arrowood | ||
|
|
||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| of this software and associated documentation files (the "Software"), to deal | ||
| in the Software without restriction, including without limitation the rights | ||
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| copies of the Software, and to permit persons to whom the Software is | ||
| furnished to do so, subject to the following conditions: | ||
|
|
||
| The above copyright notice and this permission notice shall be included in all | ||
| copies or substantial portions of the Software. | ||
|
|
||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
| SOFTWARE. | ||
|
ronag marked this conversation as resolved.
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.