Skip to content

Commit

Permalink
Removed tests for compliance in the PROPFIND method
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienCastex committed Jun 9, 2017
1 parent 24dd02b commit 6298c65
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
4 changes: 0 additions & 4 deletions lib/server/commands/Propfind.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ function default_1(arg, callback) {
}
propstat.ele('D:status').add('HTTP/1.1 200 OK');
var prop = propstat.ele('D:prop');
prop.ele('N:executable', { 'xmlns:N': 'http://apache.org/dav/props/' }).add('F');
var nb = 7;
function nbOut(error) {
if (nb > 0 && error) {
Expand Down Expand Up @@ -201,9 +200,6 @@ function default_1(arg, callback) {
nbOut(e);
}); });
}
else {
prop.ele('D:getcontentlength').add(0);
}
nbOut();
}); });
resource.lastModifiedDate(function (e, lastModifiedDate) { return process.nextTick(function () {
Expand Down
6 changes: 0 additions & 6 deletions src/server/commands/Propfind.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,6 @@ export default function(arg : MethodCallArgs, callback)
propstat.ele('D:status').add('HTTP/1.1 200 OK')

const prop = propstat.ele('D:prop')

prop.ele('N:executable', { 'xmlns:N': 'http://apache.org/dav/props/' }).add('F');

let nb = 7;
function nbOut(error?)
Expand Down Expand Up @@ -260,10 +258,6 @@ export default function(arg : MethodCallArgs, callback)
nbOut(e);
}))
}
else
{
prop.ele('D:getcontentlength').add(0)
}

nbOut();
}))
Expand Down

0 comments on commit 6298c65

Please sign in to comment.