Skip to content

Commit

Permalink
http: added more doc
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-ippolito committed Dec 26, 2022
1 parent 17677bf commit de0749b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ Enable experimental WebAssembly module support.

Enable experimental joining of the field line values of
multiple `Authorization` headers in a request.
The values are joined together with `, `.

### `--force-context-aware`

Expand Down Expand Up @@ -1878,6 +1879,7 @@ Node.js options that are allowed are:
* `--enable-source-maps`
* `--experimental-abortcontroller`
* `--experimental-import-meta-resolve`
* `--experimental-join-authorization-headers`
* `--experimental-json-modules`
* `--experimental-loader`
* `--experimental-modules`
Expand All @@ -1889,7 +1891,6 @@ Node.js options that are allowed are:
* `--experimental-vm-modules`
* `--experimental-wasi-unstable-preview1`
* `--experimental-wasm-modules`
* `--experimental-join-authorization-headers`
* `--force-context-aware`
* `--force-fips`
* `--force-node-api-uncaught-exceptions-policy`
Expand Down
4 changes: 4 additions & 0 deletions doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -2454,6 +2454,9 @@ header name:
* `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 `, `.
* To enable joining the value of duplicate `authorization` header,
use the experimental command line flag `--experimental-join-authorization-headers`.
See [`--experimental-join-authorization-headers`][] for more information.

### `message.headersDistinct`

Expand Down Expand Up @@ -3731,6 +3734,7 @@ Set the maximum number of idle HTTP parsers. **Default:** `1000`.
[`'request'`]: #event-request
[`'response'`]: #event-response
[`'upgrade'`]: #event-upgrade
[`--experimental-join-authorization-headers`]: cli.md#--experimental-join-authorization-headers
[`--insecure-http-parser`]: cli.md#--insecure-http-parser
[`--max-http-header-size`]: cli.md#--max-http-header-sizesize
[`Agent`]: #class-httpagent
Expand Down

0 comments on commit de0749b

Please sign in to comment.