| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 4e45585 commit 9f3d2f6
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -19,7 +19,6 @@ const { | |||
| 19 | 19 | const { reconnectZeroFillToggle } = require('internal/buffer'); | |
| 20 | 20 | const { | |
| 21 | 21 | defineOperation, | |
| 22 | - emitExperimentalWarning, | ||
| 23 | 22 | exposeInterface, | |
| 24 | 23 | } = require('internal/util'); | |
| 25 | 24 | ||
@@ -236,7 +235,6 @@ function setupFetch() { | |||
| 236 | 235 | } | |
| 237 | 236 | ||
| 238 | 237 | async function fetch(input, init = undefined) { | |
| 239 | - emitExperimentalWarning('The Fetch API'); | ||
| 240 | 238 | return lazyUndici().fetch(input, init); | |
| 241 | 239 | } | |
| 242 | 240 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -10,17 +10,9 @@ assert.strictEqual(typeof globalThis.Headers, 'function'); | |||
| 10 | 10 | assert.strictEqual(typeof globalThis.Request, 'function'); | |
| 11 | 11 | assert.strictEqual(typeof globalThis.Response, 'function'); | |
| 12 | 12 | ||
| 13 | - common.expectWarning( | ||
| 14 | - 'ExperimentalWarning', | ||
| 15 | - 'The Fetch API is an experimental feature. This feature could change at any time' | ||
| 16 | - ); | ||
| 17 | - | ||
| 18 | - const server = http.createServer((req, res) => { | ||
| 19 | - // TODO: Remove this once keep-alive behavior can be disabled from the client | ||
| 20 | - // side. | ||
| 21 | - res.setHeader('Keep-Alive', 'timeout=0, max=0'); | ||
| 13 | + const server = http.createServer(common.mustCall((req, res) => { | ||
| 22 | 14 | res.end('Hello world'); | |
| 23 | - }); | ||
| 15 | + })); | ||
| 24 | 16 | server.listen(0); | |
| 25 | 17 | await events.once(server, 'listening'); | |
| 26 | 18 | const port = server.address().port; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments