Skip to content

Commit

Permalink
handle multiple values of 'proxy-authenticate'
Browse files Browse the repository at this point in the history
Just as the 'WWW-Authenticate' HTTP header the 'Proxy-Authenticate' header might be received several times as well. Currently only one values is preserved. This change allows to receive multiple values concatenated by space and comma.
  • Loading branch information
thewilli committed Sep 24, 2012
1 parent 17ef062 commit 81ae3f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 81ae3f0

Please sign in to comment.