[RFC] <link rel> support for bazaar?

John Arbash Meinel john at arbash-meinel.com
Thu Aug 31 18:18:47 BST 2006


James Henstridge wrote:
> On 31/08/06, John Arbash Meinel <john at arbash-meinel.com> wrote:
>> > It would also be nice to handle cross-scheme redirects too, so that an
>> > HTTP server could redirect to some other scheme (FTP, Bazaar
>> > smart-server protocol, etc), so it would be useful if the
>> > implementation doesn't limit redirects to the same transport.
>> >
>> > James.
>> >
>> >
>>
>> I think that should be possible. I need to see what information can be
>> sent in the redirect, but in general, the plan is to just create a new
>> transport with the new url, which is likely to redirect properly I think.
> 
> That sounds great.  It would be cool to be able to do user-agent
> sniffing to detect if the person is using a version of bzr capable of
> smart server protocol and returning an HTTP redirect to that scheme,
> while allowing older clients to access the branch via HTTP.
> 
> James.
> 

My personal preference was to use query params. Because you can do a plain:

http://host/foo/.bzr/branch-format?smart=True

And a plain Apache will just return the contents of 'branch-format',
while a smart server can handle the extra query param.

But yeah, something like that needs to be worked out.

John
=:->


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060831/89811d20/attachment.pgp 


More information about the bazaar mailing list