Commit 388d125
http: expose host and protocol on ClientRequest
Allow host and protocol to be inspected.
PR-URL: #33803
Fixes: #2461
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent be6aee9 commit 388d125Copy full SHA for 388d125
File tree
Expand file treeCollapse file tree
3 files changed
+46
-0
lines changedOpen diff view settings
Filter options
- doc/api
- lib
- test/parallel
Expand file treeCollapse file tree
3 files changed
+46
-0
lines changedOpen diff view settings
Collapse file
+21Lines changed: 21 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
688 | 688 | |
689 | 689 | |
690 | 690 | |
| 691 | + |
| 692 | + |
| 693 | + |
| 694 | + |
| 695 | + |
| 696 | + |
| 697 | + |
| 698 | + |
| 699 | + |
| 700 | + |
| 701 | + |
| 702 | + |
| 703 | + |
| 704 | + |
| 705 | + |
| 706 | + |
| 707 | + |
| 708 | + |
| 709 | + |
| 710 | + |
| 711 | + |
691 | 712 | |
692 | 713 | |
693 | 714 | |
|
Collapse file
+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
213 | 213 | |
214 | 214 | |
215 | 215 | |
| 216 | + |
| 217 | + |
216 | 218 | |
217 | 219 | |
218 | 220 | |
|
Collapse file
test/parallel/test-http-outgoing-properties.js
Copy file name to clipboardExpand all lines: test/parallel/test-http-outgoing-properties.js+23Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
51 | 51 | |
52 | 52 | |
53 | 53 | |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
0 commit comments