diff --git a/Project.toml b/Project.toml index 0519c6f13..7cb4bbc2e 100644 --- a/Project.toml +++ b/Project.toml @@ -15,7 +15,7 @@ URIs = "5c2747f8-b7ea-4ff2-ba2e-563bfd36b1d4" [compat] IniFile = "0.5" MbedTLS = "0.6.8, 0.7, 1" -URIs = "1.1" +URIs = "1.3" julia = "0.7, 1" [extras] diff --git a/src/RedirectRequest.jl b/src/RedirectRequest.jl index 2d087a8b3..53fa3b173 100644 --- a/src/RedirectRequest.jl +++ b/src/RedirectRequest.jl @@ -32,7 +32,7 @@ function request(::Type{RedirectLayer{Next}}, kw = merge(merge(NamedTuple(), kw), (parent = res,)) oldurl = url - url = absuri(location, url) + url = resolvereference(url, location) if forwardheaders headers = filter(headers) do h # false return values are filtered out