Related: tdf#101094 (31): Add a simulated HEAD method: use GET

Desktop / LibreOffice - Giuseppe Castagno [acca-esse.eu] - 18 September 2016 07:47 UTC

Some server have HEAD method disabled or not implemented. So we can use GET with no data, retrieving only the header info.

The implementing code comes from LO WebDAV serf implementation.

Change-Id: I3b3d81f5a07232c4f1647888685e820939bc978c Reviewed-on: https://gerrit.libreoffice.org/28982

827cc09 Related: tdf#101094 (31): Add a simulated HEAD method: use GET
ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx | 45 +++++++
ucb/source/ucp/webdav-neon/DAVResourceAccess.hxx | 7 +
ucb/source/ucp/webdav-neon/webdavcontent.cxx | 155 +++++++++++++++++++++-
3 files changed, 202 insertions(+), 5 deletions(-)

Upstream: cgit.freedesktop.org


  • Share