Bug report
Describe the bug
supabase storage will return 400 error code for HEAD request while object not found.
To Reproduce
https://github.com/supabase/storage-api/blob/1794d04ab0e7259d9058293e257f442015252ec3/src/storage/renderer/renderer.ts#L45-L52
Expected behavior
The status code should be 404 since HEAD request will not have a body and there is no way for client to know what happened.
Screenshots
None
System information
Not related
Additional context
apache/opendal#2200
Bug report
Describe the bug
supabase storage will return 400 error code for HEAD request while object not found.
To Reproduce
https://github.com/supabase/storage-api/blob/1794d04ab0e7259d9058293e257f442015252ec3/src/storage/renderer/renderer.ts#L45-L52
Expected behavior
The status code should be
404since HEAD request will not have a body and there is no way for client to know what happened.Screenshots
None
System information
Not related
Additional context
apache/opendal#2200