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

+1-1
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)