GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: fix some links in http2.md · nodejs/node@fcbee7b

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • http2.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/http2.md‎

Copy file name to clipboardExpand all lines: doc/api/http2.md
+8-7Lines changed: 8 additions & 7 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ in order to use the `'http2'` module.
1616

1717
The Core API provides a low-level interface designed specifically around
1818
support for HTTP/2 protocol features. It is specifically *not* designed for
19-
compatibility with the existing [HTTP/1][] module API. However, the [Compatibility API][] is.
19+
compatibility with the existing [HTTP/1][] module API. However,
20+
the [Compatibility API][] is.
2021

2122
The following illustrates a simple, plain-text HTTP/2 server using the
2223
Core API:
@@ -1305,7 +1306,7 @@ added: v8.4.0
13051306
* `response` {http2.Http2ServerResponse}
13061307

13071308
Emitted each time there is a request. Note that there may be multiple requests
1308-
per session. See the [Compatibility API](compatiblity-api).
1309+
per session. See the [Compatibility API][].
13091310

13101311
#### Event: 'timeout'
13111312
<!-- YAML
@@ -1413,7 +1414,7 @@ added: v8.4.0
14131414
* `response` {http2.Http2ServerResponse}
14141415

14151416
Emitted each time there is a request. Note that there may be multiple requests
1416-
per session. See the [Compatibility API](compatiblity-api).
1417+
per session. See the [Compatibility API][].
14171418

14181419
#### Event: 'timeout'
14191420
<!-- YAML
@@ -1915,8 +1916,8 @@ req.end('Jane');
19151916

19161917
The Compatibility API has the goal of providing a similar developer experience
19171918
of HTTP/1 when using HTTP/2, making it possible to develop applications
1918-
that supports both [HTTP/1](HTTP/1) and HTTP/2. This API targets only the
1919-
**public API** of the [HTTP/1](HTTP/1), however many modules uses internal
1919+
that supports both [HTTP/1][] and HTTP/2. This API targets only the
1920+
**public API** of the [HTTP/1][], however many modules uses internal
19201921
methods or state, and those _are not supported_ as it is a completely
19211922
different implementation.
19221923

@@ -1976,7 +1977,7 @@ function onRequest(req, res) {
19761977
}
19771978
```
19781979

1979-
The `'request'` event works identically on both [HTTPS](https) and
1980+
The `'request'` event works identically on both [HTTPS][] and
19801981
HTTP/2.
19811982

19821983
### Class: http2.Http2ServerRequest
@@ -2605,7 +2606,7 @@ added: v8.4.0
26052606
Sends a response header to the request. The status code is a 3-digit HTTP
26062607
status code, like `404`. The last argument, `headers`, are the response headers.
26072608

2608-
For compatibility with [HTTP/1](), a human-readable `statusMessage` may be
2609+
For compatibility with [HTTP/1][], a human-readable `statusMessage` may be
26092610
passed as the second argument. However, because the `statusMessage` has no
26102611
meaning within HTTP/2, the argument will have no effect and a process warning
26112612
will be emitted.

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.