Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeke Sikelianos <zeke@sikelianos.com>2020-04-23 21:01:52 +0300
committerRuben Bridgewater <ruben@bridgewater.de>2020-05-30 04:43:39 +0300
commitf08174c9fb155a5549dafcd972cf63e4a63bf24e (patch)
tree1aee255422bb10e0e6d1045af37314e9970a9e96 /doc/api/http2.md
parent0ff3819481e0d1a810f2a3c8e19ad99f413ce704 (diff)
doc: update ```txt ```fandamental and ```raw code blocks
These are changed to either ```text or ```console. PR-URL: https://github.com/nodejs/node/pull/33028 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'doc/api/http2.md')
-rw-r--r--doc/api/http2.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/http2.md b/doc/api/http2.md
index 689a1be97df..7f61bc54eba 100644
--- a/doc/api/http2.md
+++ b/doc/api/http2.md
@@ -3004,7 +3004,7 @@ added: v8.4.0
Request URL string. This contains only the URL that is
present in the actual HTTP request. If the request is:
-```txt
+```http
GET /status?name=ryan HTTP/1.1\r\n
Accept: text/plain\r\n
\r\n
@@ -3020,7 +3020,7 @@ Then `request.url` will be:
To parse the url into its parts `require('url').parse(request.url)`
can be used:
-```txt
+```console
$ node
> require('url').parse('/status?name=ryan')
Url {