[merge] http multirange support

John Arbash Meinel john at arbash-meinel.com
Fri Jul 14 05:14:44 BST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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. :)

> 
> Nice work anyway, thanks for tidying it up and getting it mergeable.
> 
> cheers
> 

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.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEtxozJdeBCYSNAAMRAtKAAKDJOBj8cj3JLeREbiCw+eciuew/MQCgtCcG
FbVZCpCPNm9yQwNe0kIORk0=
=dsmz
-----END PGP SIGNATURE-----




More information about the bazaar mailing list