PsiACE commented on issue #2: URL: https://github.com/apache/opendal-oli/issues/2#issuecomment-3554033573
I dug into oli cp and confirmed we always call `dst_op.writer(...)` without metadata, so uploads default to `application/octet-stream`. We can match rclone by adding a `--content-type` flag and wiring it into `.writer_with(...).content_type(...)`; if the flag isn’t set we can reuse the existing `mime_guess` integration in OpenDAL to infer the type from the source path and fall back to `application/octet-stream`. -- 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]
