From 63aa8a37d76cb13b876e4da6178ba7dc025bfd41 Mon Sep 17 00:00:00 2001 From: Adrien Castex Date: Fri, 9 Jun 2017 21:57:55 +0200 Subject: [PATCH] Removed the 'DAV' in the OPTION method file to provide it to all responses --- lib/server/commands/Options.js | 1 - src/server/commands/Options.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/server/commands/Options.js b/lib/server/commands/Options.js index 903608b6..d4fc4280 100644 --- a/lib/server/commands/Options.js +++ b/lib/server/commands/Options.js @@ -9,7 +9,6 @@ function default_1(arg, callback) { .join(','); arg.setCode(WebDAVRequest_1.HTTPCodes.OK); arg.response.setHeader('Allow', methods); - arg.response.setHeader('DAV', '1,2'); callback(); }); } diff --git a/src/server/commands/Options.ts b/src/server/commands/Options.ts index 4662690f..55846e43 100644 --- a/src/server/commands/Options.ts +++ b/src/server/commands/Options.ts @@ -10,7 +10,6 @@ export default function(arg : MethodCallArgs, callback) arg.setCode(HTTPCodes.OK); arg.response.setHeader('Allow', methods); - arg.response.setHeader('DAV', '1,2'); callback(); }) }