tseisel
06/27/2019, 8:40 AMHttpClient
cannot be (fully) overridden. Is it intended ?
If I configure the default request's URL like this:
defaultRequest {
url {
protocol = URLProtocol.HTTPS
host = "<http://default.host.com|default.host.com>"
parameter("param", "default")
}
}
Then, using that HttpClient
instance, I call httpClient.get<String>("<http://another.host.com?param=changed>")
The called URL will be <https://default.host.com?param=changed¶m=default>
...