Commit 73d7664
Implement HTTP client requests for extension queries and downloads with automatic resumable download support (#135)
* Initial plan
* Add ServerUrl to ExtensionHostConfig and update service to use it for downloads
Co-authored-by: JusterZhu <11714536+JusterZhu@users.noreply.github.com>
* Remove dependency on DownloadUrl property and use ServerUrl for all downloads
Co-authored-by: JusterZhu <11714536+JusterZhu@users.noreply.github.com>
* Add documentation for ServerUrl architecture and update DownloadUrl comments
Co-authored-by: JusterZhu <11714536+JusterZhu@users.noreply.github.com>
* Add URL encoding for extension names and improve URL construction comments
Co-authored-by: JusterZhu <11714536+JusterZhu@users.noreply.github.com>
* Implement HTTP GET requests for Query and Download methods with authentication support
Co-authored-by: JusterZhu <11714536+JusterZhu@users.noreply.github.com>
* Add support for resumable downloads with Range header
Co-authored-by: JusterZhu <11714536+JusterZhu@users.noreply.github.com>
* Implement automatic resume detection for downloads based on partial file existence
Co-authored-by: JusterZhu <11714536+JusterZhu@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: JusterZhu <11714536+JusterZhu@users.noreply.github.com>1 parent bed6a51 commit 73d7664
File tree
8 files changed
+404
-149
lines changed- src/c#
- ExtensionTest/Services
- GeneralUpdate.Extension
- Examples
- Metadata
- Services
8 files changed
+404
-149
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
29 | 36 | | |
30 | 37 | | |
31 | 38 | | |
| |||
62 | 69 | | |
63 | 70 | | |
64 | 71 | | |
| 72 | + | |
| 73 | + | |
65 | 74 | | |
66 | 75 | | |
67 | 76 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
| |||
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
| 134 | + | |
133 | 135 | | |
134 | 136 | | |
135 | 137 | | |
| |||
140 | 142 | | |
141 | 143 | | |
142 | 144 | | |
| 145 | + | |
143 | 146 | | |
144 | 147 | | |
145 | 148 | | |
| |||
149 | 152 | | |
150 | 153 | | |
151 | 154 | | |
| 155 | + | |
152 | 156 | | |
153 | 157 | | |
154 | 158 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
78 | 81 | | |
79 | 82 | | |
80 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
43 | 48 | | |
44 | 49 | | |
45 | 50 | | |
| |||
54 | 59 | | |
55 | 60 | | |
56 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
57 | 88 | | |
58 | 89 | | |
59 | 90 | | |
| |||
70 | 101 | | |
71 | 102 | | |
72 | 103 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
77 | 112 | | |
78 | 113 | | |
79 | 114 | | |
80 | | - | |
| 115 | + | |
81 | 116 | | |
82 | 117 | | |
83 | | - | |
| 118 | + | |
84 | 119 | | |
85 | 120 | | |
86 | 121 | | |
87 | 122 | | |
88 | 123 | | |
89 | 124 | | |
90 | 125 | | |
91 | | - | |
| 126 | + | |
92 | 127 | | |
93 | 128 | | |
94 | 129 | | |
| |||
102 | 137 | | |
103 | 138 | | |
104 | 139 | | |
105 | | - | |
106 | | - | |
107 | | - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
108 | 148 | | |
109 | 149 | | |
110 | | - | |
| 150 | + | |
111 | 151 | | |
112 | 152 | | |
113 | | - | |
| 153 | + | |
114 | 154 | | |
115 | 155 | | |
116 | 156 | | |
117 | 157 | | |
118 | 158 | | |
119 | 159 | | |
120 | 160 | | |
121 | | - | |
122 | | - | |
| 161 | + | |
123 | 162 | | |
124 | 163 | | |
125 | 164 | | |
| |||
128 | 167 | | |
129 | 168 | | |
130 | 169 | | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
136 | 180 | | |
137 | 181 | | |
138 | 182 | | |
| |||
0 commit comments