Skip to content

Commit b543529

Browse files
airingursbtargos
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 b37d387 commit b543529

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
@@ -866,7 +866,7 @@ request.setHeader('Foo', 'bar');
866866
request.setHeader('Cookie', ['foo=bar', 'bar=baz']);
867867

868868
const headerNames = request.getHeaderNames();
869-
// headerNames === ['foo', 'Cookie']
869+
// headerNames === ['foo', 'cookie']
870870
```
871871

872872
### `request.getHeaders()`

0 commit comments

Comments
 (0)