Closed hythm7 closed 3 years ago
Looks like if $curl.perform failed the first time, retrying $curl.perform without $curl.setopt: :$URL, :$download returns empty content.
$curl.perform
$curl.setopt: :$URL, :$download
This behavior happens only when downloading a file, it doesn't show with $curl.preform.content
$curl.preform.content
To be more precise, download opt need to be set every time $curl.perform is called;
download
Looks like if
$curl.perform
failed the first time, retrying$curl.perform
without$curl.setopt: :$URL, :$download
returns empty content.This behavior happens only when downloading a file, it doesn't show with
$curl.preform.content
To be more precise,
download
opt need to be set every time$curl.perform
is called;