Feature request: customize the value of CURLOPT_MAXREDIRS
on a per-call basis
#173
Labels
enhancement
New feature or request
CURLOPT_MAXREDIRS
on a per-call basis
#173
It looks like
CURLOPT_MAXREDIRS
is currently hard-coded to50
:Downloads.jl/src/Curl/Easy.jl
Line 51 in 43899e7
This makes sense, since
50
is also the default for the command-linecurl
.However, it would be nice if users could customize the value of
CURLOPT_MAXREDIRS
on a per-call basis. By "per-call basis", I mean that users could do something like this:In this example, the value of
maxredirs
passed as a kwarg to therequest
function will only affect that individual call.The text was updated successfully, but these errors were encountered: