Browse Source

fix ssl_opts list in httpc request to not be doubel list

pull/625/head
Tristan Sloughter 10 years ago
parent
commit
93c000d02a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/rebar_pkg_resource.erl

+ 1
- 1
src/rebar_pkg_resource.erl View File

@ -97,7 +97,7 @@ make_vsn(_) ->
request(Url, ETag) ->
case httpc:request(get, {Url, [{"if-none-match", ETag} || ETag =/= false]},
[{ssl, [ssl_opts(Url)]}, {relaxed, true}],
[{ssl, ssl_opts(Url)}, {relaxed, true}],
[{body_format, binary}],
rebar) of
{ok, {{_Version, 200, _Reason}, Headers, Body}} ->

Loading…
Cancel
Save