Explorar el Código

added http option {relaxed, true} when fetching registry

pull/1655/head
Andrey Kanyuka hace 7 años
padre
commit
cc660d717a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/rebar_prv_update.erl

+ 1
- 1
src/rebar_prv_update.erl Ver fichero

@ -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}],

Cargando…
Cancelar
Guardar