Re:Webfs: A Filesystem Built on Top of the Web
by tootie on Saturday January 04, 2020 @09:28PM
(#21959223)
There was an even worse protocol back then called CMIS. It was an attempt to define a standard API for content management which turned into this absolute enterprise monstrosity that would make SOAP blush. It was also impossible to implement.
It's interesting looking back but I think developing a standard has a higher chance of success coming from some dude's GitHub than it does with $1T of market cap behind it.
Re:Webfs: A Filesystem Built on Top of the Web
by jpalomaki on Sunday January 05, 2020 @12:34AM
(#21959851)
Limitations on depth makes sense, because the actual storage implementation can make recursive retrievals very costly. A folder could be an abstraction for a remote resource.
Of course it would still make sense for server to tell client about this (there are files/no files/I don’t know).
Re:Webfs: A Filesystem Built on Top of the Web
by paulddraper on Sunday January 05, 2020 @10:50AM
(#21961764)
Agreed. The spec is overcomplicated and half broken.
The RFC is full of that kind of crazy gotchas, not to mention the overuse of “MAY” or “SHOULD” which will drive you crazy if you try to implement a client / server.
If you want to go further in insanity, just look at how crazily over engineered the locking mechanism is. I have no words for it.
https://tools.ietf.org/html/rfc4918#section-6
Unfortunately, even if you think you implemented the whole rfc correctly, your implementation will work with almost nothing as not that much implementations are any good in the wild. A useful WebDAV implementation must be full of vendor-specific workarounds.