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.
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.
Of course it would still make sense for server to tell client about this (there are files/no files/I don’t know).
Maybe it's on the decline, but I'd hardly put it as something that "never really found its footing". It is still a decent way to do fileshares over the public internet without sshfs, etc.
That's not really what the link is, though. It's an adaptation layer to turn a random network resource into something that looks like a filesystem.
At the time, I worked for a large porn company and we couldn't host stuff 'in the cloud' because they didn't allow porn there.
We invested a ton of money into an Isilon NAS to store our image/video content and the best way to get stuff off it over HTTP was via webdav. Unfortunately, there wasn't a good Java client.
So, I built a simple proxy that would accept regular GET requests and on the back end, use webdav to retrieve content from the Isilon. In front of that proxy was our CDN.
Since then, Sardine has been the basis for quite a few other projects.
Now I see that Wikipedia also lists several alternatives to WebDAV too, but I think httpdirlist is good.
https://en.wikipedia.org/wiki/WebDAV