Refer to the Storage guide on how access control works
Please specify the appropriate content MIME type if you are uploading images or audio. If no file_options are specified, the MIME type defaults to text/html.
Examples
Upload file using filepath
with open(filepath, 'rb') as f:
supabase.storage.from_("testbucket").upload(file=f,path=path_on_supastorage, file_options=\{"content-type": "audio/mpeg"\})