Closed gaol closed 4 years ago
@cescoffier @vietj Would you please review? Thanks !
minor comment
@vietj Updated to filter out null
values from headers.
I think it goes well, I will merge the PR if no other comments :)
OK, with the updated HttpClient API, I updated this as well to include timeout
, followRedirects
as well as the headers
.
beside the lambda, it's good to merge
@gaol any issue you merge or fix needs a version to be set so it can be in the release notes
@vietj Got it. :)
Fixes: #102
Using RequestOptions in
HttpConfigStore
so that it is possible to specify HTTP headers from the configuration.Introduce
headers
in the configurationIntroduce
timeout
in the configurationIntroduce
followRedirects
in the configurationDo not require the
host
in configuration, thedefaultHost
in theHttpClientOptions
will take effect if nohost
specified in the configuration.