Is there a way to use Requests.jl with HTTP Basic Authentication
when the password contains a slash?

julia> using Requests

julia> get("https://user:pass/w...@google.com";)
ERROR: Port must be numeric (decimal)
 in parse_authority at /home/sachs/.julia/v0.4/URIParser/src/parser.jl:129
 in parse_url at /home/sachs/.julia/v0.4/URIParser/src/parser.jl:291
 in get at /home/sachs/.julia/v0.4/Requests/src/Requests.jl:394

I tried RFC 3986 percent-encoding the password, which turns the slash
into %2F, but I get
Response(401 Unauthorized, 9 headers, 161 bytes in body)

Any help is appreciated.

Reply via email to