webdav fixes

This commit is contained in:
timurgordon
2025-03-06 01:24:04 +01:00
parent b01e40da40
commit fe934bba36
14 changed files with 598 additions and 408 deletions

View File

@@ -0,0 +1,11 @@
module webdav
import freeflowuniverse.herolib.ui.console
import log
// fn add_dav_headers(mut ctx Context) bool {
// ctx.set_custom_header('dav', '1,2') or { return ctx.server_error(err.msg()) }
// ctx.set_header(.allow, 'OPTIONS, PROPFIND, MKCOL, GET, HEAD, POST, PUT, DELETE, COPY, MOVE')
// ctx.set_custom_header('MS-Author-Via', 'DAV') or { return ctx.server_error(err.msg()) }
// return true
// }