Skip to content

Commit a86b66c

Browse files
airingursbdanielleadams
authored andcommitted
doc: fix typo in http.md
the returns need to be lowercase PR-URL: #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>
1 parent dfc4832 commit a86b66c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/http.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ request.setHeader('Foo', 'bar');
872872
request.setHeader('Cookie', ['foo=bar', 'bar=baz']);
873873

874874
const headerNames = request.getHeaderNames();
875-
// headerNames === ['foo', 'Cookie']
875+
// headerNames === ['foo', 'cookie']
876876
```
877877

878878
### `request.getHeaders()`

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy