From 24dd02b4d06592d4a52d43a456fe4d7b7fbff9ad Mon Sep 17 00:00:00 2001 From: Adrien Castex Date: Fri, 9 Jun 2017 14:24:54 +0200 Subject: [PATCH] Added the 'strictMode' server option in the README --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index bfc23f5a..28ff2b74 100644 --- a/README.md +++ b/README.md @@ -95,6 +95,7 @@ lockTimeout | `3600` | Define the lock timeout. canChunk | `true` | Define if the server must recreate the full message or if it must keep it splitted (if `false`, `IResource.append(...)` will never be called, only `IResource.write(...)`). Set the value to `false` if you encounter a problem with the order of the content, this feature hasn't been tested enough. hostname | `'::'` | Define the scope of the listening server. port | `1900` | The default port to use if no port is specified when calling `server.start()`. +strictMode | `false` | Define if the server must blindly follow the WebDAV RFC (`true`) or allow more flexibility (`false`) (for instance disallow a body in a request which doesn't use a body). ## Sample