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 targos committed Oct 14, 2019
1 parent b93c8a7 commit c0cbfae0e3e8086b642e587ec2bb0e2403397a96
Showing with 1 addition and 1 deletion.
  1. +1 −1 doc/api/http.md
@@ -1701,7 +1701,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 c0cbfae

Please sign in to comment.
You can’t perform that action at this time.