Skip to content

Commit 22d8868

Browse files
agape1225aduh95
authored andcommitted
lib: fix typo in comment in _http_client.js
Signed-off-by: agape1225 <49804691+agape1225@users.noreply.github.com> PR-URL: #64729 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Aviv Keller <me@aviv.sh>
1 parent 04bba8d commit 22d8868

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)