Closed hzrd149 closed 2 weeks ago
I think this might be better as a a separate endpoint; feels like overloading /upload and it’s semantically a bit weird “use /upload?url to fetch a file instead of uploading it yourself”
Something like a POST /fetch or something
In general I think query strings outside of GETs are a bit of a code smell
This PR defines an optional
/mirror
endpoint that can be used to tell a server where to download the blob instead of the client uploading it