★ wanayoo — archive 1999 https://github.com/nodejs/node/commit/828e171107Nouvelle recherche | Portail wanayoo
Skip to content
Permalink
Browse files
doc: add server header into the discarded list of http message.headers
PR-URL: #29962
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
  • Loading branch information
Huachao authored and MylesBorins committed Oct 23, 2019
1 parent 89aa45b commit 828e171107a0834c93e4194e3cc847d1261d049f
Showing with 1 addition and 1 deletion.
  1. +1 −1 doc/api/http.md
@@ -1765,7 +1765,7 @@ header name:
* Duplicates of `age`, `authorization`, `content-length`, `content-type`,
`etag`, `expires`, `from`, `host`, `if-modified-since`, `if-unmodified-since`,
`last-modified`, `location`, `max-forwards`, `proxy-authorization`, `referer`,
`retry-after`, or `user-agent` are discarded.
`retry-after`, `server`, or `user-agent` are discarded.
* `set-cookie` is always an array. Duplicates are added to the array.
* For duplicate `cookie` headers, the values are joined together with '; '.
* For all other headers, the values are joined together with ', '.

0 comments on commit 828e171

Please sign in to comment.