diff options
author | thewilli <email@wje-online.de> | 2012-09-24 11:18:05 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-09-27 13:28:16 -0700 |
commit | 33a5c8a814483ff48ba3acd94e091335b3536870 (patch) | |
tree | b899eb8d84e94d3fd26d88edd606adde49eaa94e /lib | |
parent | c08320c957f14fe93ab202f9325d43462d25033d (diff) | |
download | android-node-v8-33a5c8a814483ff48ba3acd94e091335b3536870.tar.gz android-node-v8-33a5c8a814483ff48ba3acd94e091335b3536870.tar.bz2 android-node-v8-33a5c8a814483ff48ba3acd94e091335b3536870.zip |
http: handle multiple Proxy-Authenticate values
Just as the 'WWW-Authenticate' HTTP header the 'Proxy-Authenticate' header might
be received several times as well. Currently only one value is preserved. This
change allows to receive multiple values concatenated by space and comma.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/http.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/http.js b/lib/http.js index a56cdc7e1e..787c906691 100644 --- a/lib/http.js +++ b/lib/http.js @@ -401,6 +401,7 @@ IncomingMessage.prototype._addHeaderLine = function(field, value) { case 'pragma': case 'link': case 'www-authenticate': + case 'proxy-authenticate': case 'sec-websocket-extensions': case 'sec-websocket-protocol': if (field in dest) { |