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 danielleadams committed Jul 26, 2022
1 parent dfc4832 commit a86b66c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/http.md
Expand Up @@ -872,7 +872,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 a86b66c

Please sign in to comment.