Giter VIP home page Giter VIP logo

webdav-rs's Introduction

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.

webdav-rs's People

Contributors

d-k-bo avatar

Stargazers

nitroxis avatar Grant Handy avatar Marcel avatar Christian Visintin avatar

Watchers

 avatar

Forkers

veeso

webdav-rs's Issues

Better debug information

While investigating #2, I realized that there is a need for more information on errors (e.g. they should include the error location) and a more readable debug representation.

I have already hacked together some parts and will look into how to properly integrate it into the library.

Unit tests

Most parts of the project aren't covered by unit tests yet. This is needed to prevent and detect issues like #2 and to ensure that future changes don't break other aspects of the library.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.