https://bz.apache.org/bugzilla/show_bug.cgi?id=69869
Bug ID: 69869
Summary: WebDavServlet PROPFIND with If-None-Match results in
400
Product: Tomcat 11
Version: 11.0.12
Hardware: PC
OS: All
Status: NEW
Severity: regression
Priority: P2
Component: Servlet
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: -------
While trying setup WebDAV server for Joplin Notes, I've an issue. PROPFIND
requests were ending with HTTP Status 400 – Bad Request.
After a bit of debugging, I've found out the reason. Joplin sends If-None-Match
header with random value.
see https://github.com/laurent22/joplin/blob/dev/packages/lib/WebDavApi.js
lines 363-373
According to RFC-7232 though only GET and HEAD should have this header for
caching purposes. It makes no mention of PROPFIND.
I've tested older versions. Apache Tomcat 11.0.0 handles PROPFIND with
If-None-Match header correctly, newer versions starting with 11.0.1 are failing
such requests with 400 – Bad Request status code.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]