Skip to content

Commit

Permalink
doc: fix typo in http.md
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
airingursb authored and targos committed Aug 1, 2022
1 parent 37cf3b9 commit 86fb313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()`
Expand Down

0 comments on commit 86fb313

Please sign in to comment.