Commit 58e2d0d
authored
Set
* Set `http.agent` Java property
Follow-up to #2330. This also sets the `http.agent` Java property which
is used for `java.net.HttpURLConnection`'s `User-Agent`. `HttpURLConnection`
is used in this code base by Coursier and the default `FileAlg#readUri`
implementation.
* Do not add login to User-Agenthttp.agent Java property (#2331)1 parent 2593625 commit 58e2d0d
File tree
1 file changed
+4
-7
lines changed- modules/core/src/main/scala/org/scalasteward/core/application
1 file changed
+4
-7
lines changedLines changed: 4 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| |||
82 | 81 | | |
83 | 82 | | |
84 | 83 | | |
85 | | - | |
| 84 | + | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
| 176 | + | |
| 177 | + | |
181 | 178 | | |
0 commit comments