Skip to content

Commit b9f4805

Browse files
committed
fix: change response status for existing folder in MKCOL handler to 200
1 parent 0a4f429 commit b9f4805

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/webdav/handlers/MKCOL.handler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export class MKCOLRequestHandler implements WebDavMethodHandler {
2222

2323
if (folderAlreadyExists) {
2424
webdavLogger.info(`[MKCOL] Folder '${resource.url}' already exists, ignoring the creation request`);
25-
res.status(201).send(XMLUtils.toWebDavXML({}, {}));
25+
res.status(200).send(XMLUtils.toWebDavXML({}, {}));
2626
return;
2727
}
2828

0 commit comments

Comments
 (0)