Skip to content

Latest commit

 

History

History
138 lines (111 loc) · 3.17 KB

README.md

File metadata and controls

138 lines (111 loc) · 3.17 KB

webdav-rs

Build Status REUSE Compliance Check crates.io Documentation License: MIT OR Apache-2.0

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 for Propfind
  • collection: internally implemented for ResourceType
  • depth
  • error: currently just a string
  • exclusive
  • href
  • include
  • location
  • lockentry
  • lockinfo
  • lockroot
  • lockscope
  • locktoken
  • locktype
  • multistatus
  • owner
  • prop
  • propertyupdate
  • propfind
  • propname: internally implemented for Propfind
  • 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

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.