Is there a way to stream data directly from python request to minio bucket
问题 I am trying to make a GET request to a server to retrieve a tiff image. I then want to stream it directly to MinIO using the put_object method in the MinIO python SDK. I know I could do this by saving the image to a temp file, then uploading but I wanted to see if I could skip that step. I've tried inserting the byte response directly and using BytesIO to wrap it but I think I am missing something. r = requests.get(url_to_download, stream=True) Minio_client.put_object("bucket_name", "stream