diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-09-12 01:52:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-12 00:52:08 +0000 |
commit | f794781ffba941085343b95dd5a9c1ad74a322a2 (patch) | |
tree | 395ad9feae6a3bf4078d0f03053eed8ce85b3396 /ext/node/polyfills/_http_outgoing.ts | |
parent | 8476bbff9af28408bc6a9b0a7b2303cb3803422e (diff) |
feat(ext/node): expose ES modules for _ modules (#25588)
Exposes following modules:
- `"node:_http_agent"`
- `"node:_http_common"`
- `"node:_http_outgoing"`
- `"node:_http_server"`
- `"node:_stream_duplex"`
- `"node:_stream_passthrough"`
- `"node:_stream_readable"`
- `"node:_stream_transform"`
- `"node:_stream_writable"`
- `"node:_tls_common"`
- `"node:_tls_wrap"`
Diffstat (limited to 'ext/node/polyfills/_http_outgoing.ts')
-rw-r--r-- | ext/node/polyfills/_http_outgoing.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/node/polyfills/_http_outgoing.ts b/ext/node/polyfills/_http_outgoing.ts index 3c253f5a6..4da6b73e8 100644 --- a/ext/node/polyfills/_http_outgoing.ts +++ b/ext/node/polyfills/_http_outgoing.ts @@ -21,7 +21,7 @@ import { _checkInvalidHeaderChar as checkInvalidHeaderChar, _checkIsHttpToken as checkIsHttpToken, chunkExpression as RE_TE_CHUNKED, -} from "ext:deno_node/_http_common.ts"; +} from "node:_http_common"; import { defaultTriggerAsyncIdScope, symbols, @@ -54,6 +54,8 @@ let debug = debuglog("http", (fn) => { const HIGH_WATER_MARK = getDefaultHighWaterMark(); +export const kUniqueHeaders = Symbol("kUniqueHeaders"); +export const kHighWaterMark = Symbol("kHighWaterMark"); const kCorked = Symbol("corked"); const nop = () => {}; @@ -891,6 +893,8 @@ function _onFinish(outmsg: any) { } export default { + kUniqueHeaders, + kHighWaterMark, validateHeaderName, validateHeaderValue, parseUniqueHeadersOption, |