[merge] http multirange support
Michael Ellerman
michael at ellerman.id.au
Fri Jul 14 06:16:18 BST 2006
On 7/14/06, John Arbash Meinel <john at arbash-meinel.com> wrote:
> Michael Ellerman wrote:
> > On 7/14/06, John Arbash Meinel <john at arbash-meinel.com> wrote:
> >> > * that is not a typo, I tested it 4 times, I'm currently looking into
> >> > the ethereal dump to see why pycurl is slower than urllib here.
> >>
> >> Just a small update, thanks to inspecting the ethereal dump, I found
> >> that I was sending the wrong string to pycurl it wanted:
> >> setopt(RANGE, '0-10,100-200') not
> >> setopt(RANGE, 'bytes=0-100,100-200')
> >
> > You should have read my email ! ;)
>
> Actually, I did, but somehow my brain forgot about the first part, and
> focused on the redirect and 416 handling. :)
That happens to me too :)
> Hopefully we can test it against some non-apache servers, to make sure
> we really get what we expect. And I think it is reasonable to add some
> of your concerns as 'TODO' items. I don't know that bzr supports
> redirect all that well right now. But we should probably handle 416 in
> the future.
Yeah, I'd like it to get some testing from real people against real
servers. I'm sure we'll find some interesting configurations.
Current bzr does support redirects, at least with pycurl, but the new
stuff doesn't, so that's at least one bug. Try branching from
http://bazaar-ng.org/bzr/bzr.dev
cheers
More information about the bazaar
mailing list