summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/http.ts
diff options
context:
space:
mode:
Diffstat (limited to 'ext/node/polyfills/http.ts')
-rw-r--r--ext/node/polyfills/http.ts29
1 files changed, 13 insertions, 16 deletions
diff --git a/ext/node/polyfills/http.ts b/ext/node/polyfills/http.ts
index 4bfc1e1d3..82533ba22 100644
--- a/ext/node/polyfills/http.ts
+++ b/ext/node/polyfills/http.ts
@@ -1,32 +1,29 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
import { TextEncoder } from "internal:deno_web/08_text_encoding.js";
-import {
- type Deferred,
- deferred,
-} from "internal:deno_node/polyfills/_util/async.ts";
+import { type Deferred, deferred } from "internal:deno_node/_util/async.ts";
import {
_normalizeArgs,
ListenOptions,
Socket,
-} from "internal:deno_node/polyfills/net.ts";
-import { Buffer } from "internal:deno_node/polyfills/buffer.ts";
-import { ERR_SERVER_NOT_RUNNING } from "internal:deno_node/polyfills/internal/errors.ts";
-import { EventEmitter } from "internal:deno_node/polyfills/events.ts";
-import { nextTick } from "internal:deno_node/polyfills/_next_tick.ts";
-import { validatePort } from "internal:deno_node/polyfills/internal/validators.mjs";
+} from "internal:deno_node/net.ts";
+import { Buffer } from "internal:deno_node/buffer.ts";
+import { ERR_SERVER_NOT_RUNNING } from "internal:deno_node/internal/errors.ts";
+import { EventEmitter } from "internal:deno_node/events.ts";
+import { nextTick } from "internal:deno_node/_next_tick.ts";
+import { validatePort } from "internal:deno_node/internal/validators.mjs";
import {
Readable as NodeReadable,
Writable as NodeWritable,
-} from "internal:deno_node/polyfills/stream.ts";
-import { OutgoingMessage } from "internal:deno_node/polyfills/_http_outgoing.ts";
-import { Agent } from "internal:deno_node/polyfills/_http_agent.mjs";
-import { chunkExpression as RE_TE_CHUNKED } from "internal:deno_node/polyfills/_http_common.ts";
-import { urlToHttpOptions } from "internal:deno_node/polyfills/internal/url.ts";
+} from "internal:deno_node/stream.ts";
+import { OutgoingMessage } from "internal:deno_node/_http_outgoing.ts";
+import { Agent } from "internal:deno_node/_http_agent.mjs";
+import { chunkExpression as RE_TE_CHUNKED } from "internal:deno_node/_http_common.ts";
+import { urlToHttpOptions } from "internal:deno_node/internal/url.ts";
import {
constants,
TCP,
-} from "internal:deno_node/polyfills/internal_binding/tcp_wrap.ts";
+} from "internal:deno_node/internal_binding/tcp_wrap.ts";
enum STATUS_CODES {
/** RFC 7231, 6.2.1 */