OpenDAL previously handled returning content-length in the list response as a best-effort approach. We encouraged users to call stat outside of list. However, this approach has placed a significant burden on our users. Perhaps we should make it mandatory for list to return content-length and update our implementations accordingly. This way, our users won't be confused by this behavior anymore.
OpenDAL previously handled returning
content-lengthin thelistresponse as a best-effort approach. We encouraged users to callstatoutside oflist. However, this approach has placed a significant burden on our users. Perhaps we should make it mandatory forlistto returncontent-lengthand update our implementations accordingly. This way, our users won't be confused by this behavior anymore.