WebDAVClient
WebDAVClient copied to clipboard
Item List from ownCloud does not get Collection=true for folders
Hi, This is the response from the PROPFIND call to ownCloud:
<d:response>
<d:href>/remote.php/webdav/xxxxxxxxxxxxxxxxxxx/</d:href>
<d:propstat>
<d:prop>
<d:getlastmodified>Fri, 16 Sep 2016 08:00:22 GMT</d:getlastmodified>
<d:resourcetype>
<d:collection/>
</d:resourcetype>
<d:quota-used-bytes>24569936</d:quota-used-bytes>
<d:quota-available-bytes>-3</d:quota-available-bytes>
<d:getetag>"57dba696c1d62"</d:getetag>
</d:prop>
<d:status>HTTP/1.1 200 OK</d:status>
</d:propstat>
</d:response>
Even if the "resourcetype" is flagged as "collection", the resulting Item has IsCollection set to false.
This seems to be happening only when using the NuGet package, as it seems fixed in the current codebase.
Any chance you will push a new version to NuGet?