WebDAV and HEAD request method

Hello,

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-0.0.0.0-8080-exec-26] [org.nuxeo.ecm.webdav.resource.RootResource] OPTIONS /nuxeo/site/dav/john.doe/ 2014-10-17 09:40:01,353 DEBUG [http-bio-0.0.0.0-8080-exec-26] [org.nuxeo.ecm.webdav.resource.RootResource] LOCK /nuxeo/site/dav/john.doe/Toto5.docx 2014-10-17 09:40:01,497 DEBUG [http-bio-0.0.0.0-8080-exec-24] [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 ?

Thanks.

1 votes

1 answers

3779 views

ANSWER

In fact, Nuxeo always reponds 404 on HEAD requests I think…
10/17/2014



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)
11/14/2014

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

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-0.0.0.0-8080-exec-4] [org.nuxeo.runtime.transaction.TransactionHelper] Unable to start transaction javax.transaction.NotSupportedException: Nested Transactions are not supported

03/06/2015