ucb: webdav-curl: tdf#101094 (15) OPTIONS: Options cache removal: MKCOL

[ port of commit 1596379bc00a32bc3b4e76a53aa884112b21764b ]

Change-Id: If217fde550ef55375e4743de00dcb325a89674c1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123467
Tested-by: Michael Stahl <michael.stahl@allotropia.de>
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
diff --git a/ucb/source/ucp/webdav-curl/webdavcontent.cxx b/ucb/source/ucp/webdav-curl/webdavcontent.cxx
index cc7578a..d9f925b 100644
--- a/ucb/source/ucp/webdav-curl/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav-curl/webdavcontent.cxx
@@ -2441,7 +2441,10 @@ void Content::insert(
            xResAccess->setURL( aURL );

            if ( bCollection )
            {
                xResAccess->MKCOL( Environment );
                aStaticDAVOptionsCache.removeDAVOptions( aTargetUrl );
            }
            else
            {
                xResAccess->PUT( xInputStream, Environment );