1 unstable release
| 0.1.0 | Feb 15, 2024 |
|---|
#2 in #rfc-4918
36KB
552 lines
webdav-rs
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.
Usage
cargo add webdav-meta --rename webdav
Implemented features
HTTP 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
License
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)
Contribution
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.
Dependencies
~0–1MB
~18K SLoC