mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
doc: fix typo in http.md
the returns need to be lowercase PR-URL: https://github.com/nodejs/node/pull/43933 Reviewed-By: Paolo Insogna <paolo@cowtech.it> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Mestery <mestery@protonmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Harshitha K P <harshitha014@gmail.com>
This commit is contained in:
1 parent
37cf3b9551
commit
86fb313fe8
1 file changed
+1
-1
+1
-1
@@ -866,7 +866,7 @@ request.setHeader('Foo', 'bar');
|
||||
request.setHeader('Cookie', ['foo=bar', 'bar=baz']);
|
||||
|
||||
const headerNames = request.getHeaderNames();
|
||||
// headerNames === ['foo', 'Cookie']
|
||||
// headerNames === ['foo', 'cookie']
|
||||
```
|
||||
|
||||
### `request.getHeaders()`
|
||||
|
||||
Reference in new issue
Block a user