diff options
author | Gerhard Stoebich <18708370+Flarna@users.noreply.github.com> | 2018-11-30 09:53:57 +0100 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2018-12-01 14:24:44 -0800 |
commit | 67d4123a5a1240200ad304631adbd406e9b9f8ea (patch) | |
tree | 89bcd3ecee5ec51dc6253343e56031e8a6470841 | |
parent | edb8f228a27378e59aed3b9632895f8c13799863 (diff) | |
download | android-node-v8-67d4123a5a1240200ad304631adbd406e9b9f8ea.tar.gz android-node-v8-67d4123a5a1240200ad304631adbd406e9b9f8ea.tar.bz2 android-node-v8-67d4123a5a1240200ad304631adbd406e9b9f8ea.zip |
doc: cookie is joined using '; '
document that incoming cookie headers are joined using '; '.
PR-URL: https://github.com/nodejs/node/pull/24740
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
-rw-r--r-- | doc/api/http.md | 1 | ||||
-rw-r--r-- | doc/api/http2.md | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/doc/api/http.md b/doc/api/http.md index 22fe2c43ee..aaeb9403ff 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -1598,6 +1598,7 @@ header name: `last-modified`, `location`, `max-forwards`, `proxy-authorization`, `referer`, `retry-after`, 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 ', '. ### message.httpVersion diff --git a/doc/api/http2.md b/doc/api/http2.md index ad7b59d4e8..c5a2382a47 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -2297,7 +2297,7 @@ For incoming headers: `upgrade-insecure-requests`, `user-agent` or `x-content-type-options` are discarded. * `set-cookie` is always an array. Duplicates are added to the array. -* `cookie`: the values are joined together with '; '. +* For duplicate `cookie` headers, the values are joined together with '; '. * For all other headers, the values are joined together with ', '. ```js |