summaryrefslogtreecommitdiff
path: root/tests/node_compat/config.jsonc
diff options
context:
space:
mode:
authormash-graz <mash-graz@users.noreply.github.com>2024-03-10 23:46:05 +0100
committerGitHub <noreply@github.com>2024-03-10 22:46:05 +0000
commit16dbbfa64a5d2905580535c52c1db51d1cf5b89f (patch)
tree5cf86fd3955309a86149322dd2664d15b33c31ea /tests/node_compat/config.jsonc
parent0e644503690f23ced5c13c5d3e59592ce1858018 (diff)
fix(node:http) Export `validateHeaderName` and `validateHeaderValue` functions (#22616)
Modify `_http_outgoing.ts` to support the extended signature of `validateHeaderName()` used since node v19.5.0/v18.14.0 by adding the `label` parameter. (see: https://nodejs.org/api/http.html#httpvalidateheadernamename-label) Making both validation functions accessible as public exports of `node:http` Fixes: #22614
Diffstat (limited to 'tests/node_compat/config.jsonc')
-rw-r--r--tests/node_compat/config.jsonc1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/node_compat/config.jsonc b/tests/node_compat/config.jsonc
index d84cc4dd2..3fde8be5a 100644
--- a/tests/node_compat/config.jsonc
+++ b/tests/node_compat/config.jsonc
@@ -365,6 +365,7 @@
// TODO(lev): ClientRequest.socket is not polyfilled so this test keeps
// failing
//"test-http-client-set-timeout.js",
+ "test-http-header-validators.js",
"test-http-localaddress.js",
// TODO(bartlomieju): temporarily disabled while we iterate on the HTTP client
// "test-http-outgoing-buffer.js",