-
Notifications
You must be signed in to change notification settings - Fork 181
Open
Description
Unfortunately HTTP.jl doesn't work for me right now with custom CA certificates. I cannot query internal urls at my employer, nor do more complicated things.
julia> r = HTTP.request("GET", "https://internal_url.com")
ERROR: HTTP.ConnectError for url = `https://internal_url.com`: OpenSSL.OpenSSLError("unable to get local issuer certificate")I love and applaud pure Julia packages like HTTP.jl, but this issue does not occur with Downloads.jl:
using Downloads
r = Downloads.request("https://internal_url.com"; method="GET")
r.status
# outputs
200It's rather ironic that Downloads.jl can do a bit more than downloading, including HTTP PUT commands. That's why it took me a while to find Downloads.jl as solution. Maybe it's good to mention somewhere in the docs that Downloads.jl can be used as alternative to HTTP.jl? I realized even that Pkg.jl also uses Downloads.jl.
Metadata
Metadata
Assignees
Labels
No labels