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 <[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]>
  • 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
Original file line number Diff line number Diff line change
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.