From 9a20d3b56a9a0d10d189224d785445c80fa6395f Mon Sep 17 00:00:00 2001 From: CarlosEDP Date: Thu, 2 Jul 2015 10:05:54 -0300 Subject: No need to use profile hex. Proxy settings are applied globally. --- src/rebar_pkg_resource.erl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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), -- cgit v1.1