Skip to content
Go to file

Latest commit


* Add check for HTTP_X_FORWARDED_HOST header

* Remove whitespaces

* Update

Co-authored-by: Martin Wendt <>

Git stats


Failed to load latest commit information.

logo WsgiDAV

Build Status Latest Version License Documentation Status Code style: black Released with: Yabs StackOverflow: WsgiDAV

A generic and extendable WebDAV server written in Python and based on WSGI.

Main features:

  • WsgiDAV is a stand-alone WebDAV server with SSL support, that can be installed and run as Python command line script on Linux, OSX, and Windows:
    $ pip install wsgidav cheroot
    $ wsgidav --host= --port=8080 --root=/tmp
    WARNING: share '/' will allow anonymous access.
    Running WsgiDAV/2.2.2 Cheroot/5.5.0 Python/3.4.2
    Serving on ...
    Run wsgidav --help for a list of available options.
    Note: The syntax changed slightly with v3.0.
  • Note: python-pam is needed if using pam-login on Linux or OSX:
    $ pip install python-pam
    $ wsgidav --auth=pam-login --host= --port=8080 --root=/tmp
  • Note: Windows users may prefer the MSI Installer (see Assets section).
  • WebDAV is a superset of HTTP, so WsgiDAV is also a performant, multi-threaded web server with SSL support.
  • WsgiDAV is also a Python library that implements the WSGI protocol and can be run behind any WSGI compliant web server.
  • WsgiDAV is implemented as a configurable stack of WSGI middleware applications.
    Its open architecture allows to extend the functionality and integrate WebDAV services into your project.
    Typical use cases are:
    • Expose data structures as virtual, editable file systems.
    • Allow online editing of MS Office documents.


Latest Version See the (change log) for details.

Note: Release 3.0 introduces some refactorings and breaking changes.
See the (change log) for details.

More info



Any kind of feedback is very welcome!
Have fun :-)