With https://github.com/JuliaWeb/HTTP.jl/issues/936, we want to allow users to provide their own buffer into which we write the response body directly. We want to coordinate what that solution looks like for CloudStore.get. Currently, we have an "output" argument that can be an IO, file name as a string, or nothing in which case we allocate and return the response body in memory. We might want to provide another option, maybe even an AbstractVector{UInt8} itself that we use to write the response body into.
With https://github.com/JuliaWeb/HTTP.jl/issues/936, we want to allow users to provide their own buffer into which we write the response body directly. We want to coordinate what that solution looks like for
CloudStore.get
. Currently, we have an "output" argument that can be an IO, file name as a string, ornothing
in which case we allocate and return the response body in memory. We might want to provide another option, maybe even anAbstractVector{UInt8}
itself that we use to write the response body into.