list_media().
Signature
Returns an
Asset, the same shape upload()
returns.
Confirming too early
Storage takes a moment to make freshly written bytes readable. Confirming inside that window raisesDreepConflictError:
upload_presigned() already
handles this for you, retrying the confirm while the bytes settle. Write the retry yourself
only when the PUT happened somewhere you don’t control, such as a browser.
Retry the confirm, never the upload. The bytes are already in storage; re-uploading
them stores and bills the file twice.