mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
Fixes #1187. Support multiple 'link' headers
This commit is contained in:
1 parent
feb26d6c74
commit
d627083ed5
1 file changed
+1
@@ -284,6 +284,7 @@ IncomingMessage.prototype._addHeaderLine = function(field, value) {
|
||||
case 'connection':
|
||||
case 'cookie':
|
||||
case 'pragma':
|
||||
case 'link':
|
||||
if (field in dest) {
|
||||
dest[field] += ', ' + value;
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user