[Pkg-haskell-maintainers] Bug#698379: lower-level DAV monad

Joey Hess joeyh at debian.org
Thu Jan 17 18:19:42 UTC 2013


Package: libghc-dav-dev
Version: 0.3-1
Severity: normal

Currently the library exports high-level functions like putContent, that
set up a DAV connection, perform an action, and close the connection. As
I've mentioned before, it would be good to have some sort of DAV monad
within which lower-level actions could be composed. Especially if that
allowed http-conduit to reuse http connections.

Besides optimisations, a reason to do it is that apparently some WebDAV
servers do not support locking[1], despite, it seems, advertising LOCK and
UNLOCK. All the high-level functions now use locking if it seems the
server supports it. However for my application, I don't need locking,
and if I had a DAV monad I could skip the locking code.

[1] http://git-annex.branchable.com/special_remotes/webdav/#comment-471a2ec5c3bf715d7f6fb22d67a5fae8

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20130117/a1684dc2/attachment.pgp>


More information about the Pkg-haskell-maintainers mailing list