CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 16:50:29 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/karma-runner/karma.git
etag: W/"3a1670a43a157638ec80d1f34fd2525a"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com marketplace-screenshots.githubusercontent.com/ copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=xKLxj%2BeyaMQYYqmHy0cNDoJkdgySwqGhs3654toCLdODPSrH%2FlvuRSDiJ20SSTAOGU3wXgi2wUwKf%2BMEH%2FCrn%2FVpMos8N4mRcR7im2pH8kblWzoOl1nWyjWKgX4lqAu16YokMAlMmg4i4ISObYtpqibGHL%2F95RierDySTxvFZPghL3l5jAjmNzuk6gDpzD3MoJ6ao%2Blsnym8ZE%2BV4B%2FIBQZlpg8DaRg2IRbzKHhdZLFSu2WMLR7kWerJTwtXXlZX0rRH%2BbMcpg7ctFZh6BvmRw%3D%3D--2LvmxRU%2FNjxsYSfC--CzK7IeaJSJTsNyB7iruhtA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.226858921.1760201428; Path=/; Domain=github.com; Expires=Sun, 11 Oct 2026 16:50:28 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 11 Oct 2026 16:50:28 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: AA04:14CD9D:8AC367:B5D02D:68EA8AD4
fix(server): clean up vestigial code from proxy (#3640) · karma-runner/karma@f4aeac3 · GitHub
authored
Copy file name to clipboardExpand all lines: test/unit/middleware/proxy.spec.js
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit f4aeac3

Jonathan Ginsburg
fix(server): clean up vestigial code from proxy (#3640)
When using the proxy feature of Karma, the target value can include the [scheme](https://tools.ietf.org/html/std66#section-3.1). It was used to determine the `https` variable to be sent to the [`http-proxy`](https://www.npmjs.com/package/http-proxy) `.createProxyServer` method. However, it is now disregarded by that package. This change cleans it up.1 parent 94cf15e commit f4aeac3Copy full SHA for f4aeac3
File tree
Expand file treeCollapse file tree
2 files changed
+41
-37
lines changedFilter options
- lib/middleware
- test/unit/middleware
Expand file treeCollapse file tree
2 files changed
+41
-37
lines changedCollapse file: lib/middleware/proxy.js
+7-11Lines changed: 7 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
37 |
| - | |
38 |
| - | |
39 |
| - | |
40 |
| - | |
41 |
| - | |
42 |
| - | |
43 |
| - | |
44 |
| - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
45 | 40 |
| |
| 41 | + | |
46 | 42 |
| |
47 |
| - | |
| 43 | + | |
48 | 44 |
| |
49 | 45 |
| |
50 |
| - | |
| 46 | + | |
51 | 47 |
| |
52 | 48 |
| |
53 | 49 |
| |
| |||
71 | 67 |
| |
72 | 68 |
| |
73 | 69 |
| |
74 |
| - | |
| 70 | + | |
75 | 71 |
| |
76 | 72 |
| |
77 | 73 |
| |
|
Collapse file: test/unit/middleware/proxy.spec.js
test/unit/middleware/proxy.spec.js
Copy file name to clipboardExpand all lines: test/unit/middleware/proxy.spec.js+34-26Lines changed: 34 additions & 26 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
146 | 146 |
| |
147 | 147 |
| |
148 | 148 |
| |
149 |
| - | |
150 |
| - | |
| 149 | + | |
151 | 150 |
| |
152 | 151 |
| |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
153 | 159 |
| |
154 | 160 |
| |
155 | 161 |
| |
| |||
160 | 166 |
| |
161 | 167 |
| |
162 | 168 |
| |
163 |
| - | |
164 |
| - | |
| 169 | + | |
165 | 170 |
| |
166 | 171 |
| |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
167 | 179 |
| |
168 | 180 |
| |
169 | 181 |
| |
| |||
174 | 186 |
| |
175 | 187 |
| |
176 | 188 |
| |
177 |
| - | |
178 |
| - | |
| 189 | + | |
179 | 190 |
| |
180 | 191 |
| |
181 | 192 |
| |
| |||
195 | 206 |
| |
196 | 207 |
| |
197 | 208 |
| |
198 |
| - | |
199 |
| - | |
| 209 | + | |
200 | 210 |
| |
201 | 211 |
| |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
202 | 219 |
| |
203 | 220 |
| |
204 | 221 |
| |
| |||
209 | 226 |
| |
210 | 227 |
| |
211 | 228 |
| |
212 |
| - | |
213 |
| - | |
| 229 | + | |
214 | 230 |
| |
215 | 231 |
| |
216 | 232 |
| |
| |||
231 | 247 |
| |
232 | 248 |
| |
233 | 249 |
| |
234 |
| - | |
235 |
| - | |
| 250 | + | |
236 | 251 |
| |
237 | 252 |
| |
238 | 253 |
| |
| |||
246 | 261 |
| |
247 | 262 |
| |
248 | 263 |
| |
249 |
| - | |
250 |
| - | |
| 264 | + | |
251 | 265 |
| |
252 | 266 |
| |
253 | 267 |
| |
| |||
261 | 275 |
| |
262 | 276 |
| |
263 | 277 |
| |
264 |
| - | |
265 |
| - | |
| 278 | + | |
266 | 279 |
| |
267 | 280 |
| |
268 | 281 |
| |
| |||
276 | 289 |
| |
277 | 290 |
| |
278 | 291 |
| |
279 |
| - | |
280 |
| - | |
| 292 | + | |
281 | 293 |
| |
282 | 294 |
| |
283 | 295 |
| |
| |||
290 | 302 |
| |
291 | 303 |
| |
292 | 304 |
| |
293 |
| - | |
294 |
| - | |
| 305 | + | |
295 | 306 |
| |
296 | 307 |
| |
297 | 308 |
| |
| |||
307 | 318 |
| |
308 | 319 |
| |
309 | 320 |
| |
310 |
| - | |
311 |
| - | |
| 321 | + | |
312 | 322 |
| |
313 | 323 |
| |
314 | 324 |
| |
315 | 325 |
| |
316 | 326 |
| |
317 | 327 |
| |
318 |
| - | |
319 |
| - | |
| 328 | + | |
320 | 329 |
| |
321 | 330 |
| |
322 | 331 |
| |
| |||
331 | 340 |
| |
332 | 341 |
| |
333 | 342 |
| |
334 |
| - | |
335 |
| - | |
| 343 | + | |
336 | 344 |
| |
337 | 345 |
| |
338 | 346 |
| |
|
You can’t perform that action at this time.
0 commit comments