We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0a796b commit e7d50b1Copy full SHA for e7d50b1
lib/http-proxy/common.js
@@ -54,7 +54,7 @@ common.setupOutgoing = function(outgoing, options, req, forward) {
54
if (!outgoing.agent) {
55
outgoing.headers = outgoing.headers || {};
56
if (typeof outgoing.headers.connection !== 'string'
57
- || ! upgradeHeader.test(outgoing.headers.connection)
+ || !upgradeHeader.test(outgoing.headers.connection)
58
) { outgoing.headers.connection = 'close'; }
59
}
60
0 commit comments