I am experiencing a weird behaviour with HTTP.jl, I have a pipeline where I can load a file, it reads data from the file and then calls three times an AWS endpoint using this code:
resp = HTTP.request(
"POST",
myURL,
headers,
body = JSON.json(Dict("inputs" => message))
)
all goes according to plan except when I load a second file, then I get this error:
IOError(EOFError() during request(https://someurl.in.the.cloud))
but then for the third file, it works again… and so on and so forth…
So I am now wondering if there is something I need to do in order to properly clean after myself…
any advice more than welcome