Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/_http_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ function rewriteForProxiedHttp(req, reqOptions, proxyAuthority, userHostHeader,
// so a rejected request doesn't leave proxy-* headers stuck on the outgoing header store.
// XXX(joyeecheung): This validates whether the request conforms to the RFC, but here
// we only do it for proxied requests for backward compatibility. For non-proxied requests,
// ensuring thst the request is well formed has been entirely left to the user.
// ensuring that the request is well formed has been entirely left to the user.
const result = validateRequestAuthority(req.path, proxyAuthority, userHostHeader, headerArray);
if (headerArray === undefined) {
const currentHost = req.getHeader('host');
Expand Down
Loading