Just a suggestion: You could rip out the WebDAV implementation from Cargo Dock and use that. It shouldn't be too dependent on the UI, if at all. https://github.com/pycage/cargodock/...api/davapi.cpp