Skip to content
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

use FinalizationRegistry to cancel the body if response is collected #3199

Merged
merged 26 commits into from
May 7, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup
Signed-off-by: Matteo Collina <hello@matteocollina.com>
  • Loading branch information
mcollina committed May 6, 2024
commit e47d71fc5345ef4ad1d28b2ed02a0a1b3b9038d4
1 change: 1 addition & 0 deletions test/fetch/cookies.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ test('Can send cookies to a server with fetch - issue #1463', async (t) => {
]

for (const headers of headersInit) {
console.log(headers)
mcollina marked this conversation as resolved.
Show resolved Hide resolved
await fetch(`http://localhost:${server.address().port}`, { headers })
}
})
Expand Down
Loading