Apache-WebDAV
view release on metacpan or search on metacpan
lib/Apache/WebDAV.pm view on Meta::CPAN
#
# Started working on this, targetted clients don't need it, never finished.
#
# sub proppatch
# {
# my ($self, $r, $handler) = @_;
#
# $r->status(200);
# $r->header_out("Allow",
# "OPTIONS, HEAD, GET, PUT, " .
# "DELETE, MKCOL, PROPPATCH, PROPFIND, COPY, MOVE");
# $r->header_out("DAV", "1,<http://apache.org/dav/propset/fs/1>");
# $r->send_http_header();
#
# return OK;
# }
#
# Copy a resource to another location.
#
lib/Apache/WebDAV.pm view on Meta::CPAN
The WebDAV protocol is unclear and client behavior differs drastically. During development of this module, the following clients were identified as targets for support:
WebDrive (windows)
Transmit (osx)
Goliath (osx)
Cadaver (linux)
Konqueror (linux)
HTTP::DAV (perl)
The MacOSX Finder is also supported, assuming your Filesys::Virtual subclass is fully and correctly implemented. Specifically, you can't expect the Finder to "PUT" a file in one nice step, rather, it takes multiple requests and it's difficult to pro...
In addition, depending on your Filesys::Virtual subclass, of course, this module passes most of the WebDAV Litmus tests (http://www.webdav.org/neon/litmus/) without errors or warnings. Specifically:
OPTIONS for DAV: header
PUT, GET with byte comparison
MKCOL
DELETE (collections, non-collections)
COPY, MOVE using combinations of:
overwrite t/f
destination exists/doesn't exist
collection/non-collection
However, there is currently no support for LOCKING or PROPERTY MANIPULATION.
Finally, there are certain pieces of code in this module that purposefully break from the WebdAV protocol in order to support a specific client. As of this writing, both Goliath and WebDrive require these hacks. (Both are commented in the code.)
( run in 0.387 second using v1.01-cache-2.11-cpan-c6e0e5ac2a7 )