diff options
author | Andrey Kanyuka <kanyuka.aa@gmail.com> | 2017-11-05 18:27:10 +0200 |
---|---|---|
committer | Andrey Kanyuka <kanyuka.aa@gmail.com> | 2017-11-05 18:27:10 +0200 |
commit | cc660d717a7c4fd5d290eddf9c1b1d9772a8924e (patch) | |
tree | 7d8988486827728053157c2917753650269e8074 /src | |
parent | bf1597ba280155f1004b5a2bfd7c553d8d102860 (diff) |
added http option {relaxed, true} when fetching registry
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_prv_update.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_prv_update.erl b/src/rebar_prv_update.erl index 9d632d4..79804d3 100644 --- a/src/rebar_prv_update.erl +++ b/src/rebar_prv_update.erl @@ -51,7 +51,7 @@ do(State) -> CDN = rebar_state:get(State, rebar_packages_cdn, ?DEFAULT_CDN), case rebar_utils:url_append_path(CDN, ?REMOTE_REGISTRY_FILE) of {ok, Url} -> - HttpOptions = rebar_utils:get_proxy_auth(), + HttpOptions = [{relaxed, true} | rebar_utils:get_proxy_auth()], ?DEBUG("Fetching registry from ~p", [Url]), case httpc:request(get, {Url, [{"User-Agent", rebar_utils:user_agent()}]}, HttpOptions, [{stream, TmpFile}, {sync, true}], |