Skip to content

Commit f0a2e2c

Browse files
benglrvagg
authored andcommittedDec 5, 2015
doc: message.header duplication correction
The old version of the text here was slightly incorrect, so it just defers the details to the section in which they're fully described. PR-URL: #3997 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Evan Lucas <[email protected]>
1 parent dd0d15f commit f0a2e2c

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed
 

‎doc/api/http.markdown

+2-5
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,7 @@ HTTP API is very low-level. It deals with stream handling and message
2525
parsing only. It parses a message into headers and body but it does not
2626
parse the actual headers or the body.
2727

28-
Defined headers that allow multiple values are concatenated with a `,`
29-
character, except for the `set-cookie` and `cookie` headers which are
30-
represented as an array of values. Headers such as `content-length`
31-
which can only have a single value are parsed accordingly, and only a
32-
single value is represented on the parsed object.
28+
See [message.headers][] for details on how duplicate headers are handled.
3329

3430
The raw headers as they were received are retained in the `rawHeaders`
3531
property, which is an array of `[key, value, key2, value2, ...]`. For
@@ -1083,6 +1079,7 @@ There are a few special headers that should be noted.
10831079
* Sending an Authorization header will override using the `auth` option
10841080
to compute basic authentication.
10851081

1082+
[message.headers][]: #http_message_headers
10861083
[constructor options]: #http_new_agent_options
10871084
[`destroy()`]: #http_agent_destroy
10881085
['checkContinue']: #http_event_checkcontinue

0 commit comments

Comments
 (0)
Please sign in to comment.