diff options
author | Lukas Stabe <lukas@stabe.de> | 2025-02-05 23:03:05 +0000 |
---|---|---|
committer | Lukas Stabe <lukas@stabe.de> | 2025-02-05 23:03:05 +0000 |
commit | 317bd6a5d42a83c9c5e874788282a6e76f638211 (patch) | |
tree | 0907869057fea553c26601aaca6d2443fcc9de97 /src/args.rs | |
parent | Merge pull request #1470 from svenstaro/dependabot/cargo/all-dependencies-184... (diff) | |
download | miniserve-317bd6a5d42a83c9c5e874788282a6e76f638211.tar.gz miniserve-317bd6a5d42a83c9c5e874788282a6e76f638211.zip |
add read-only webdav support
Diffstat (limited to '')
-rw-r--r-- | src/args.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/args.rs b/src/args.rs index 9ac6772..922e78b 100644 --- a/src/args.rs +++ b/src/args.rs @@ -309,6 +309,12 @@ pub struct CliArgs { /// and return an error instead. #[arg(short = 'I', long, env = "MINISERVE_DISABLE_INDEXING")] pub disable_indexing: bool, + + /// Enable read-only WebDAV support (PROPFIND requests) + /// + /// Currently incompatible with -P|--no-symlinks (see https://github.com/messense/dav-server-rs/issues/37) + #[arg(long, env = "MINISERVE_ENABLE_WEBDAV", conflicts_with = "no_symlinks")] + pub enable_webdav: bool, } /// Checks whether an interface is valid, i.e. it can be parsed into an IP address |