[rfc] [patch] pycurl transport

Martin Pool mbp at sourcefrog.net
Fri Jan 13 09:58:25 GMT 2006


On 13 Jan 2006, Denys Duchier <duchier at ps.uni-sb.de> wrote:
> 
> >> And http can't even seek.
> 
> you can use byte-range requests, e.g. with a request header like:
> 
> 	Range: bytes=231-7236

Right, so we could turn a 

   seek()
   read()

into a byte-range request.  But perhaps it would be better for Transport
callers to use something like a pread interface, where they give the
offset and length all in one go.

-- 
Martin
-------------- 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/20060113/bd34ccaa/attachment.pgp 


More information about the bazaar mailing list