diff options
Diffstat (limited to 'ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx')
-rw-r--r-- | ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx b/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx index 3f685919a055..db488b0c15fd 100644 --- a/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx +++ b/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx @@ -497,7 +497,8 @@ uno::Reference< io::XInputStream > DAVResourceAccess::GET( } -uno::Reference< io::XInputStream > DAVResourceAccess::GET( +// used as HEAD substitute when HEAD is not implemented on server +void DAVResourceAccess::GET0( DAVRequestHeaders &rRequestHeaders, const std::vector< OUString > & rHeaderNames, DAVResource & rResource, @@ -519,14 +520,14 @@ uno::Reference< io::XInputStream > DAVResourceAccess::GET( ucb::WebDAVHTTPMethod_GET, rRequestHeaders ); - xStream = m_xSession->GET( getRequestURI(), - rHeaderNames, - rResource, - DAVRequestEnvironment( - getRequestURI(), - new DAVAuthListener_Impl( - xEnv, m_aURL ), - rRequestHeaders, xEnv ) ); + m_xSession->GET0( getRequestURI(), + rHeaderNames, + rResource, + DAVRequestEnvironment( + getRequestURI(), + new DAVAuthListener_Impl( + xEnv, m_aURL ), + rRequestHeaders, xEnv ) ); } catch ( const DAVException & e ) { @@ -537,8 +538,6 @@ uno::Reference< io::XInputStream > DAVResourceAccess::GET( } } while ( bRetry ); - - return xStream; } |