HTTP.jl client layer

Sorry for a bit of a rushed response, but yes, it can be a little tricky when trying to retry requests like this. You can check out some of the machinery we use/do in the RetryRequest layer here: HTTP.jl/src/clientlayers/RetryRequest.jl at ef9a169c5471e14558409a649057d773c09451f6 · JuliaWeb/HTTP.jl · GitHub