File objects? - under the hood question

Jeremy Bowers jerf at jerf.org
Sun Jan 23 06:35:25 EST 2005


On Sun, 23 Jan 2005 08:27:49 -0800, EP wrote:

> 
>> My brain-teaser:  What I'd like to do is read the last ~2K of a large
>> number of large files on arbitrary servers across the net, without
>> having to read each file from the beginning (which would be slow and
>> resource inefficient)...
>> 
>> 
> Proper googling would have revealed that HTTP 1.1 includes a Range
> Request.  My bad.
> 
> http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
> 
> Before I reinvent the wheel (and make it a little squarer than it has to
> be) has anyone seen a "cookbook" recipe for adding the HTTP 1.1 range
> request to a urllib urlopener (or something similar)?

I posted a followup already to your previous message, I just changed the
subject since it no longer applied, and it is the type of thing one would
google for. (Those need proper subjects.) See: "Retrieving the last bit
Re: File objects? - under the hood question".



More information about the Python-list mailing list