浏览代码

No need to use profile hex. Proxy settings are applied globally.

pull/579/head
CarlosEDP 9 年前
父节点
当前提交
9a20d3b56a
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. +1
    -2
      src/rebar_pkg_resource.erl

+ 1
- 2
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),

正在加载...
取消
保存