Skip to content

Commit 33d5140

Browse files
committed
fixup! test: update fetch proxy tests for undici fixes
1 parent eccd6d5 commit 33d5140

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/parallel/test-http-proxy-fetch.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ const { createProxyServer, checkProxiedRequest } = require('../common/proxy-serv
3030
method: 'CONNECT',
3131
url: serverHost,
3232
headers: {
33-
connection: 'close',
34-
host: serverHost,
33+
'connection': 'close',
34+
'host': serverHost,
3535
'proxy-connection': 'keep-alive'
3636
}
3737
}];

test/parallel/test-https-proxy-fetch.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ const { createProxyServer, checkProxiedRequest } = require('../common/proxy-serv
3333
method: 'CONNECT',
3434
url: serverHost,
3535
headers: {
36-
connection: 'close',
37-
host: serverHost,
36+
'connection': 'close',
37+
'host': serverHost,
3838
'proxy-connection': 'keep-alive'
3939
}
4040
}];

0 commit comments

Comments
 (0)