http dav support

Jan Hudec bulb at ucw.cz
Tue Nov 15 08:17:29 GMT 2005


On Mon, Nov 14, 2005 at 18:17:06 -0600, John A Meinel wrote:
> Robey Pointer wrote:
> > Really cool/interesting summary of UBZ, thanks Aaron. :)
> > 
> > Reading it brought up this question:  Is anyone working on or
> > investigating HTTP DAV support?
> > 
> > I did a quick google and it looks like there's a standard (tiny!) davlib
> > module out there for python.  Debian even has it as an individual
> > package.  So I think it might actually be pretty simple to get DAV
> > working, but I don't want to step on anyone's toes if someone else is
> > already playing with it, since I know very little about DAV.
> 
> I don't think anyone has looked into it yet. There are a few people who
> claim it is a must for them.
> 
> If you want to give davlib a look, and implement a DavTransport, similar
> to the SftpTransport, that would be nice.
> 
> We might have to work out some policy, since we would want people to
> still have access to read-only http access, even if they don't have
> davlib installed, but it would be nice to be able to upgrade them to
> write-access if the remote location supports it.

Even if they do have davlib installed, there must be a way to tell bzr
not to use it. Either because the server does not support the DAV
methods, or because you are behind a brain-dead proxy that refuses to
forward them.

KDE actually uses webdav:// instead of http:// for webdav access -- it
might be a way to go, though it's certainly not standard.

> As far as I know, read-only webdav is just plain http. It is only when
> you go to write that you need webdav.
> So maybe we could try to load davlib, and if it loads, then we have
> implementations for the write() functions in HttpTransport. If it fails
> to load, then we just complain that you must have davlib installed to
> have write support.

If the read side won't use it even when available, it's ok.

> Probably this is easiest done to start with by creating a plugin, and
> having it inherit from http transport, and then register itself as the
> http handler. (or only register itself if davlib is available).

-- 
						 Jan 'Bulb' Hudec <bulb at ucw.cz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051115/87dd7626/attachment.pgp 


More information about the bazaar mailing list