Skip to content

Commit 6244110

Browse files
authored
doc: fix typo in http.md
the returns need to be lowercase PR-URL: #43933 Reviewed-By: Paolo Insogna <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Mestery <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Harshitha K P <[email protected]>
1 parent d29e78a commit 6244110

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

876876
const headerNames = request.getHeaderNames();
877-
// headerNames === ['foo', 'Cookie']
877+
// headerNames === ['foo', 'cookie']
878878
```
879879

880880
### `request.getHeaders()`

0 commit comments

Comments
 (0)