Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a86b66c

Browse filesBrowse files
airingursbdanielleadams
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 dfc4832 commit a86b66c
Copy full SHA for a86b66c

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎doc/api/http.md‎

Copy file name to clipboardExpand all lines: doc/api/http.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ request.setHeader('Foo', 'bar');
872872
request.setHeader('Cookie', ['foo=bar', 'bar=baz']);
873873

874874
const headerNames = request.getHeaderNames();
875-
// headerNames === ['foo', 'Cookie']
875+
// headerNames === ['foo', 'cookie']
876876
```
877877

878878
### `request.getHeaders()`

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.