Open kebe7jun opened 11 months ago
I couldn't find any related information in the issue section, so I wanted to ask if there is any reason we are not planning to support this? Are there any concerns?
We don't support list operations due to the lack of established standards. Parsing unknown HTML can be challenging and prone to errors. I'm not sure should we add such logic inside http service.
platforms like Alluxio also support this kind of operation.
Would you like to provide some references?
https://docs.alluxio.io/os/user/stable/en/ufs/WEB.html
Alluxio provides examples of mounting a file system based on the web (HTTP) protocol.
Seems alluxio.underfs.web
is not part of open source alluxio
Hello @kebe7jun, do you think it would be beneficial for an HTTP service to accept a closure?
For instance:
let cfg = services::Http::default();
cfg.index_parser(my_parser);
...
OpenDAL is a fantastic project, and I am attempting to integrate it into my system. However, I've noticed that the current HTTP type file system does not support the list operation, which poses significant difficulties for us. We are unable to use commands like
cp -r
to operate on the HTTP file system. The page structure for static files on servers like Nginx or Apache Server is quite similar, as seen on pages like https://mirrors.tuna.tsinghua.edu.cn/apache/hbase/stable/. It seems feasible to support HTTP list operations by parsing specific HTML structures. To my knowledge, platforms like Alluxio also support this kind of operation. I couldn't find any related information in the issue section, so I wanted to ask if there is any reason we are not planning to support this? Are there any concerns? Or, I am willing to help the community accomplish this task. Would the community be open to accepting my contribution?