diff options
author | CarlosEDP <me@carlosedp.com> | 2015-07-02 10:05:54 -0300 |
---|---|---|
committer | CarlosEDP <me@carlosedp.com> | 2015-07-03 16:40:27 -0300 |
commit | 9a20d3b56a9a0d10d189224d785445c80fa6395f (patch) | |
tree | 3e0229740990f5fa275993185eca9499c97367fc | |
parent | 60265aba3497aa97a35b706e00a2526e100733bd (diff) |
No need to use profile hex. Proxy settings are applied globally.
-rw-r--r-- | src/rebar_pkg_resource.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rebar_pkg_resource.erl b/src/rebar_pkg_resource.erl index 5b37788..59ce0dc 100644 --- a/src/rebar_pkg_resource.erl +++ b/src/rebar_pkg_resource.erl @@ -95,8 +95,7 @@ make_vsn(_) -> request(Url, ETag) -> case httpc:request(get, {Url, [{"if-none-match", ETag} || ETag =/= false]}, [{relaxed, true}], - [{body_format, binary}], - hex) of + [{body_format, binary}]) of {ok, {{_Version, 200, _Reason}, Headers, Body}} -> ?DEBUG("Successfully downloaded ~s", [Url]), {"etag", ETag1} = lists:keyfind("etag", 1, Headers), |