Commit ca83634
http: don't throw on
Don't throw errors on Uint8Arrays and added test for all
valid types.
Backport-PR-URL: #33488
PR-URL: #33155
Fixes: #33379
Refs: #29829
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: James M Snell <jasnell@gmail.com>Uint8Arrays for http.ServerResponse#write
1 parent 2e77a10 commit ca83634Copy full SHA for ca83634
File tree
Expand file treeCollapse file tree
3 files changed
+31
-5
lines changedOpen diff view settings
Filter options
- lib
- test/parallel
Expand file treeCollapse file tree
3 files changed
+31
-5
lines changedOpen diff view settings
Collapse file
+5-3Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
60 | 60 | |
61 | 61 | |
62 | 62 | |
| 63 | + |
63 | 64 | |
64 | 65 | |
65 | 66 | |
| ||
649 | 650 | |
650 | 651 | |
651 | 652 | |
652 | | - |
| 653 | + |
653 | 654 | |
654 | | - |
| 655 | + |
655 | 656 | |
656 | 657 | |
657 | 658 | |
| ||
742 | 743 | |
743 | 744 | |
744 | 745 | |
745 | | - |
| 746 | + |
| 747 | + |
746 | 748 | |
747 | 749 | |
748 | 750 | |
|
Collapse file
test/parallel/test-http-outgoing-proto.js
Copy file name to clipboardExpand all lines: test/parallel/test-http-outgoing-proto.js+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
80 | 80 | |
81 | 81 | |
82 | 82 | |
83 | | - |
| 83 | + |
84 | 84 | |
85 | 85 | |
86 | 86 | |
| ||
90 | 90 | |
91 | 91 | |
92 | 92 | |
93 | | - |
| 93 | + |
94 | 94 | |
95 | 95 | |
96 | 96 | |
|
Collapse file
test/parallel/test-http-outgoing-write-types.js
Copy file name to clipboard+24Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
0 commit comments