- Notifications
You must be signed in to change notification settings - Fork1
Commitc2d658b
authored
fix: relaxed Content-Type checks for CLI download (#189)
This PR fixes download failure for Windows .exe binaries by relaxingstrict Content-Type checks. Previously, the plugin only acceptedapplication/octet-stream, causing failures when .exe files were servedas application/x-msdos-executable by some servers.-resolves#1871 parenta68ab3a commitc2d658b
File tree
2 files changed
+14
-1
lines changed- src/main/kotlin/com/coder/toolbox/cli/downloader
2 files changed
+14
-1
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
| 12 | + | |
12 | 13 |
| |
13 | 14 |
| |
14 | 15 |
| |
|
Lines changed: 13 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
28 | 40 |
| |
29 | 41 |
| |
30 | 42 |
| |
| |||
52 | 64 |
| |
53 | 65 |
| |
54 | 66 |
| |
55 |
| - | |
| 67 | + | |
56 | 68 |
| |
57 | 69 |
| |
58 | 70 |
| |
|
0 commit comments
Comments
(0)