|
@ -908,8 +908,12 @@ get_http_vars(Scheme) -> |
|
|
Config = rebar_config:consult_file(GlobalConfigFile), |
|
|
Config = rebar_config:consult_file(GlobalConfigFile), |
|
|
proplists:get_value(Scheme, Config, OS). |
|
|
proplists:get_value(Scheme, Config, OS). |
|
|
|
|
|
|
|
|
-compile({nowarn_deprecated_function, [{http_uri, parse, 1}, |
|
|
|
|
|
{http_uri, decode, 1}]}). |
|
|
|
|
|
|
|
|
-ifdef (OTP_RELEASE). |
|
|
|
|
|
-if(?OTP_RELEASE >= 23). |
|
|
|
|
|
-compile({nowarn_deprecated_function, [{http_uri, parse, 1}, |
|
|
|
|
|
{http_uri, decode, 1}]}). |
|
|
|
|
|
-endif. |
|
|
|
|
|
-endif. |
|
|
|
|
|
|
|
|
set_httpc_options() -> |
|
|
set_httpc_options() -> |
|
|
set_httpc_options(https_proxy, get_http_vars(https_proxy)), |
|
|
set_httpc_options(https_proxy, get_http_vars(https_proxy)), |
|
|