mirror of
https://github.com/cryptomator/cryptomator.git
synced 2024-10-07 09:13:29 +00:00
add "allow" response header field
This commit is contained in:
parent
1d9252e974
commit
41f8a9faca
@ -32,7 +32,7 @@ public class WindowsCompatibilityServlet extends HttpServlet {
|
||||
protected void doOptions(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
|
||||
resp.addHeader("DAV", "1, 2");
|
||||
resp.addHeader("MS-Author-Via", "DAV");
|
||||
// resp.addHeader("Allow", "OPTIONS, GET, HEAD, POST, TRACE, PROPFIND, PROPPATCH, MKCOL, COPY, PUT, DELETE, MOVE, LOCK, UNLOCK");
|
||||
resp.addHeader("Allow", "OPTIONS, GET, HEAD");
|
||||
resp.setStatus(HttpServletResponse.SC_NO_CONTENT);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user