From ae4ef01e36ecec6c9a1eb4f8f5e301926959aca7 Mon Sep 17 00:00:00 2001 From: antelle Date: Sat, 20 Aug 2016 23:58:10 +0300 Subject: [PATCH] Updated WebDAV Config (markdown) --- WebDAV-Config.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/WebDAV-Config.md b/WebDAV-Config.md index 05a988f..0940b7b 100644 --- a/WebDAV-Config.md +++ b/WebDAV-Config.md @@ -1,4 +1,8 @@ -To use WebDAV-located file from web app, CORS must be enabled on your server. Here's an example of config: +To use WebDAV-located file from web app, CORS must be enabled on your server. + +❗ OPTIONS request must work **without** authorization. + +Here's an example of config: For Apache: ``` @@ -26,6 +30,4 @@ if ($request_method = 'OPTIONS') { add_header 'Content-Length' 0; return 204; } -``` - -❗ OPTIONS request must work **without** authorization. \ No newline at end of file +``` \ No newline at end of file