summaryrefslogtreecommitdiff
path: root/doc/api/http.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/http.md')
-rw-r--r--doc/api/http.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/api/http.md b/doc/api/http.md
index 3cf80923dd..ba76269c0a 100644
--- a/doc/api/http.md
+++ b/doc/api/http.md
@@ -12,6 +12,7 @@ user is able to stream data.
HTTP message headers are represented by an object like this:
+<!-- eslint-disable -->
```js
{ 'content-length': '123',
'content-type': 'text/plain',
@@ -34,6 +35,7 @@ property, which is an array of `[key, value, key2, value2, ...]`. For
example, the previous message header object might have a `rawHeaders`
list like the following:
+<!-- eslint-disable semi -->
```js
[ 'ConTent-Length', '123456',
'content-LENGTH', '123',
@@ -1460,6 +1462,7 @@ Accept: text/plain\r\n
Then `request.url` will be:
+<!-- eslint-disable semi -->
```js
'/status?name=ryan'
```