Skip to content

Commit 2446dce

Browse files
committed
fix lint issues in doc/api/http2.md
1 parent 1af0980 commit 2446dce

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

doc/api/http2.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1117,7 +1117,7 @@ When sending a request, header values must not contain characters outside the
11171117
characters.
11181118

11191119
This strict validation can be relaxed via the `httpValidation` option of
1120-
[`http2.connect()`][], which allows control characters in header values
1120+
[`http2.connect()`](#http2connectauthority-options-listener), which allows control characters in header values
11211121
when set to `'relaxed'` or `'insecure'`.
11221122

11231123
When a `ClientHttp2Session` is first created, the socket may not yet be
@@ -2986,9 +2986,9 @@ changes:
29862986
values, aligning with the [Fetch specification][].
29872987
* `'insecure'`: Disables all header value validation (equivalent to
29882988
`insecureHTTPParser` in HTTP/1).
2989-
When set to `'relaxed'` or `'insecure'`, `strictSingleValueFields` is
2990-
automatically disabled.
2991-
**Default:** `'strict'`.
2989+
When set to `'relaxed'` or `'insecure'`, `strictSingleValueFields` is
2990+
automatically disabled.
2991+
**Default:** `'strict'`.
29922992
* `...options` {Object} Any [`net.createServer()`][] option can be provided.
29932993
* `onRequestHandler` {Function} See [Compatibility API][]
29942994
* Returns: {Http2Server}
@@ -3186,9 +3186,9 @@ changes:
31863186
values, aligning with the [Fetch specification][].
31873187
* `'insecure'`: Disables all header value validation (equivalent to
31883188
`insecureHTTPParser` in HTTP/1).
3189-
When set to `'relaxed'` or `'insecure'`, `strictSingleValueFields` is
3190-
automatically disabled.
3191-
**Default:** `'strict'`.
3189+
When set to `'relaxed'` or `'insecure'`, `strictSingleValueFields` is
3190+
automatically disabled.
3191+
**Default:** `'strict'`.
31923192
* `http1Options` {Object} An options object for configuring the HTTP/1
31933193
fallback when `allowHTTP1` is `true`. These options are passed to the
31943194
underlying HTTP/1 server. See [`http.createServer()`][] for available
@@ -3371,9 +3371,9 @@ changes:
33713371
values, aligning with the [Fetch specification][].
33723372
* `'insecure'`: Disables all header value validation (equivalent to
33733373
`insecureHTTPParser` in HTTP/1).
3374-
When set to `'relaxed'` or `'insecure'`, `strictSingleValueFields` is
3375-
automatically disabled.
3376-
**Default:** `'strict'`.
3374+
When set to `'relaxed'` or `'insecure'`, `strictSingleValueFields` is
3375+
automatically disabled.
3376+
**Default:** `'strict'`.
33773377
* `listener` {Function} Will be registered as a one-time listener of the
33783378
[`'connect'`][] event.
33793379
* Returns: {ClientHttp2Session}
@@ -5072,6 +5072,7 @@ you need to implement any fall-back behavior yourself.
50725072
[ALPN negotiation]: #alpn-negotiation
50735073
[Compatibility API]: #compatibility-api
50745074
[DEP0202]: deprecations.md#dep0202-http1incomingmessage-and-http1serverresponse-options-of-http2-servers
5075+
[Fetch specification]: https://fetch.spec.whatwg.org/
50755076
[HTTP/1]: http.md
50765077
[HTTP/2]: https://tools.ietf.org/html/rfc7540
50775078
[HTTP/2 Headers Object]: #headers-object
@@ -5134,4 +5135,3 @@ you need to implement any fall-back behavior yourself.
51345135
[`tls.createServer()`]: tls.md#tlscreateserveroptions-secureconnectionlistener
51355136
[`writable.writableFinished`]: stream.md#writablewritablefinished
51365137
[error code]: #error-codes-for-rst_stream-and-goaway
5137-
[Fetch specification]: https://fetch.spec.whatwg.org/

0 commit comments

Comments
 (0)