Hello LibreOffice developers,
 
while experimenting with the UNO UCB layer I noticed that the struct
com.sun.star.ucb.Command does not allow passing WebDAV-specific methods
such as "PROPFIND", "MKCOL", etc. The documentation suggests that
services like com.sun.star.ucb.ContentResultSet should provide row-by-row
access to folder children, but in practice the Command interface only
accepts a limited set of names ("open", "insert", ...).
 
This makes it impossible to issue standard WebDAV commands through the
WebDAVContentProvider. At the moment the only workaround is to bypass UCB
and use raw HTTP clients (e.g. MSXML2.ServerXMLHTTP) to send PROPFIND
requests and parse the XML manually.
 
Would it be feasible to update com.sun.star.ucb.Command to include
WebDAV command names, and to provide a suitable CommandArgument struct
for them? Even a minimal extension would make WebDAV integration much
more usable from UNO/Basic.
 
Thanks for considering,
Pertti Purhonen
 

Reply via email to