The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Dancer::Plugin::WebDAV - Defines routes for methods of HTTP WebDAV

SYNOPSIS

    package YourDancerApp;
    use Dancer ':syntax';
    use Dancer::Plugin::WebDAV;

    propfind '/somewhere/:param' => sub {
        ...
    };

    mkcol '/anotherwhere/:param' => sub {
        ...
    };

    proppatch '...' => sub {
        ...
    };

    copy '...' => sub {
        ...
    };

    move '...' => sub {
        ...
    };

    lock '...' => sub {
        ...
    };

    unlock '..' => sub {
        ...
    };

DESCRIPTION

Dancer::Plugin::WebDAV provides the routes controllers to define routes for WebDAV. Just like the routes controllers any, get, patch, post, del, options and put.

Please making sure your server implementation accepts HTTP methods from WebDAV. The bin/app.pl coming along with the Dancer app skeleton uses HTTP::Server::Simple which has no support on WebDAV. Plack::Handler::Standalone, the default handler of plackup, does support WebDAV.

AUTHOR

shelling <navyblueshellingford@gmail.com>

SEE ALSO

Dancer

HTTP::Server::Simple::PSGI

LICENSE

Copyright (C) shelling

The MIT License