Problem using perl HTTP::DAV module as client

Trying to use HTTP::DAV in perl script as client to owncloud server. Server returns “multistatus” to PROPFIND. Perl module not understand that properly.

Debian 9.9.
Apache/2.4.25
MySQL 10
PHP 7.0.33
ownCloud 10.2.1 (stable). Fresh install from zip-archive

All works fine after change lib/composer/sabre/dav/lib/DAV/Server.php
< function generateMultiStatus($fileProperties, $strip404s = false) {

> function generateMultiStatus($fileProperties, $strip404s = true) {