Commit be84235
committed
[TASK] Respect the url scheme of configured api url
In a couple of places, `https` has been hardcoded enforced
as request scheme, ignoring the scheme of the configured
api url.
This may seem to be a "security" enforcement, but these
kind of overrides are not very user friendly and hidden
magic is always a pain in the ass for debugging issues.
This change now re-uses the configured api url scheme
when building api requests. One test is adopted to do
the same.
The donated methods on the `Configuration` class to
access api url parts are used for this.1 parent f9a9701 commit be84235
File tree
3 files changed
+13
-3
lines changed- Classes
- Tests/Functional
3 files changed
+13
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
| 130 | + | |
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
413 | | - | |
| 413 | + | |
| 414 | + | |
414 | 415 | | |
415 | 416 | | |
416 | 417 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
41 | 49 | | |
42 | 50 | | |
43 | 51 | | |
0 commit comments