Skip to content

Commit 828e171

Browse files
HuachaoMylesBorins
authored andcommitted
doc: add server header into the discarded list of http message.headers
PR-URL: #29962 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent 89aa45b commit 828e171

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/http.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1765,7 +1765,7 @@ header name:
17651765
* Duplicates of `age`, `authorization`, `content-length`, `content-type`,
17661766
`etag`, `expires`, `from`, `host`, `if-modified-since`, `if-unmodified-since`,
17671767
`last-modified`, `location`, `max-forwards`, `proxy-authorization`, `referer`,
1768-
`retry-after`, or `user-agent` are discarded.
1768+
`retry-after`, `server`, or `user-agent` are discarded.
17691769
* `set-cookie` is always an array. Duplicates are added to the array.
17701770
* For duplicate `cookie` headers, the values are joined together with '; '.
17711771
* For all other headers, the values are joined together with ', '.

0 commit comments

Comments
 (0)