summaryrefslogtreecommitdiff
path: root/doc/api/http.md
diff options
context:
space:
mode:
authorHuachao Mao <huachaomao@gmail.com>2019-10-14 11:18:21 +0800
committerRich Trott <rtrott@gmail.com>2019-10-15 22:35:50 -0700
commit405a280cf283c1209013c3ee76144952860802e3 (patch)
tree0c19036a5ead0bbd820fe47cffa16c2b4bcf6543 /doc/api/http.md
parentff5a1cf5a8d61fd16d5190e7117e97e49d7edcb2 (diff)
downloadandroid-node-v8-405a280cf283c1209013c3ee76144952860802e3.tar.gz
android-node-v8-405a280cf283c1209013c3ee76144952860802e3.tar.bz2
android-node-v8-405a280cf283c1209013c3ee76144952860802e3.zip
doc: add server header into the discarded list of http message.headers
PR-URL: https://github.com/nodejs/node/pull/29962 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'doc/api/http.md')
-rw-r--r--doc/api/http.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/http.md b/doc/api/http.md
index 1870de2594..06bd46442d 100644
--- a/doc/api/http.md
+++ b/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 ', '.