Xuanwo commented on code in PR #2200:
URL: 
https://github.com/apache/incubator-opendal/pull/2200#discussion_r1183799020


##########
core/src/services/supabase/backend.rs:
##########
@@ -259,16 +286,38 @@ impl Accessor for SupabaseBackend {
             return Ok(RpStat::new(Metadata::new(EntryMode::DIR)));
         }
 
-        let resp = self.core.supabase_get_object_info(path).await?;
+        // The get_object_info does not contain the file size. Therefore

Review Comment:
   > which means the body is empty, and the content-length is zero
   
   I believe it's bug, supabase storage should:
   
   - Either, Return an json with metadata in body for `GET /object/info`
   - Or, use `HEAD /object/info` to return metadata which can have correct 
content length.
     - Maybe conflict with `HEAD /object`
   
   Current API design makes `GET /object/info` useless.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to