WebDAV and HEAD request method


Microsoft Office use HEAD method request during webdav access (verified with wireshark), then a GET one. But Nuxeo never responds to HEAD requests. Indeed I activate debug for webdav module, and I dont see HEAD request coming in logs (i have GET, OPTIONS, PROPFIND…) :

2014-10-17 09:39:54,940 DEBUG [http-bio-] [org.nuxeo.ecm.webdav.resource.RootResource] OPTIONS /nuxeo/site/dav/john.doe/ 2014-10-17 09:40:01,353 DEBUG [http-bio-] [org.nuxeo.ecm.webdav.resource.RootResource] LOCK /nuxeo/site/dav/john.doe/Toto5.docx 2014-10-17 09:40:01,497 DEBUG [http-bio-] [org.nuxeo.ecm.webdav.resource.RootResource] GET /nuxeo/site/dav/john.doe/Toto5.docx

The problem is that without HEAD response Office is very slow (awaiting timeout) or is opening file in Read Only.

Is it possible to make Nuxeo responds to HEAD requests on WebDAV access ?


1 votes

1 answers



In fact, Nuxeo always reponds 404 on HEAD requests I think…

Could you please open a NXP ticket related to the fact that HEAD method is not treated correctly?

0 votes

(you just need to click on the "report a bug" button on the right)

Ticket 15922 https://jira.nuxeo.com/browse/NXP-15922 Hope this will be fixed.

With version 6.0-HF05, i have the following error when a HEAD request is received :

2015-03-06 10:54:38,339 ERROR [http-bio-] [org.nuxeo.runtime.transaction.TransactionHelper] Unable to start transaction javax.transaction.NotSupportedException: Nested Transactions are not supported