You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected:
content-type header returned from curl are the new content type
mimetype in supabase is updated
Actual:
content-type header returned from curl is the old content type
mimetype in supabase is updated
In this case the content-type and supabase mimetype don't match
Case 2:
Steps:
Copy object to the same key, but with the same content-type
Curl the url of the key
Inspect the object in the supabase dashboard
Expected:
content-type header returned from curl are the new content type
mimetype in supabase is updated
Actual:
Neither the content-type header or the mimetype are updated, they're both the old value
To Reproduce
Upload an object to supabase storage with content-type "text/plain"
Overwrite the object via the s3 protocol, but specify an alternative content type like "audio/mp4"
In the test the key has changed, whereas I'm trying to update the same key. I think also when we ran it against s3 it might not have updated correctly on the s3 side (I can't recall). Thanks!
Bug report
Describe the bug
Case 1:
Steps:
Expected:
content-type header returned from curl are the new content type
mimetype in supabase is updated
Actual:
content-type header returned from curl is the old content type
mimetype in supabase is updated
In this case the content-type and supabase mimetype don't match
Case 2:
Steps:
Expected:
content-type header returned from curl are the new content type
mimetype in supabase is updated
Actual:
Neither the content-type header or the mimetype are updated, they're both the old value
To Reproduce
Expected behavior
Content-type when curling and mimetype in supabase are both updated.
Additional context
This is a continuation of #580, but creating a new issue so it's not missed since that was marked completed.
The text was updated successfully, but these errors were encountered: