Skip to content

Commit d3cada5

Browse files
agape1225aduh95
authored andcommitted
lib: fix typo in comment in _http_client.js
Signed-off-by: agape1225 <[email protected]> PR-URL: #64729 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Daeyeon Jeong <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Aviv Keller <[email protected]>
1 parent 4368303 commit d3cada5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/_http_client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ function rewriteForProxiedHttp(req, reqOptions, proxyAuthority, userHostHeader,
296296
// so a rejected request doesn't leave proxy-* headers stuck on the outgoing header store.
297297
// XXX(joyeecheung): This validates whether the request conforms to the RFC, but here
298298
// we only do it for proxied requests for backward compatibility. For non-proxied requests,
299-
// ensuring thst the request is well formed has been entirely left to the user.
299+
// ensuring that the request is well formed has been entirely left to the user.
300300
const result = validateRequestAuthority(req.path, proxyAuthority, userHostHeader, headerArray);
301301
if (headerArray === undefined) {
302302
const currentHost = req.getHeader('host');

0 commit comments

Comments
 (0)