mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
[minor] extra space
This commit is contained in:
parent
c0a796b3e3
commit
e7d50b1a37
@ -54,7 +54,7 @@ common.setupOutgoing = function(outgoing, options, req, forward) {
|
||||
if (!outgoing.agent) {
|
||||
outgoing.headers = outgoing.headers || {};
|
||||
if (typeof outgoing.headers.connection !== 'string'
|
||||
|| ! upgradeHeader.test(outgoing.headers.connection)
|
||||
|| !upgradeHeader.test(outgoing.headers.connection)
|
||||
) { outgoing.headers.connection = 'close'; }
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user