Reusable types for implementing WebDAV clients and servers based on RFC 4918.
This crate is intended to be used together with libraries that build on the
general-purpose http crate.
cargo add webdav-meta --rename webdavHTTP Methods
HTTP methods are currently defined as static variables, but should be moved to constants in the future.
-
PROPFIND -
PROPPATCH -
MKCOL -
COPY -
MOVE -
LOCK -
UNLOCK
HTTP Headers
-
DAV -
Depth -
Destination -
If -
Lock-Token -
Overwrite -
Timeout
XML Elements
-
activelock -
allprop: internally implemented forPropfind -
collection: internally implemented forResourceType -
depth -
error: currently just a string -
exclusive -
href -
include -
location -
lockentry -
lockinfo -
lockroot -
lockscope -
locktoken -
locktype -
multistatus -
owner -
prop -
propertyupdate -
propfind -
propname: internally implemented forPropfind -
propstat -
remove -
response -
responsedescription -
set -
shared -
status -
timeout -
write
DAV properties
-
creationdate -
displayname -
getcontentlanguage -
getcontentlength -
getcontenttype -
getetag -
getlastmodified -
lockdiscovery -
resourcetype -
supportedlock
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or https://apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.