Skip to content

Commit

Permalink
Removed the 'DAV' in the OPTION method file to provide it to all resp…
Browse files Browse the repository at this point in the history
…onses
  • Loading branch information
AdrienCastex committed Jun 9, 2017
1 parent 27abc4e commit 63aa8a3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion lib/server/commands/Options.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
}
Expand Down
1 change: 0 additions & 1 deletion src/server/commands/Options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
})
}

0 comments on commit 63aa8a3

Please sign in to comment.