How to grab a part of web page?
William Park
opengeometry at NOSPAM.yahoo.ca
Wed Jul 10 01:43:17 EDT 2002
Gerhard H?ring <gerhard.haering at gmx.de> wrote:
>> I think it's possible. When I use 'wget -c' to download HTML, sometimes
>> I see it start from an offset, rather than from the beginning.
>
> Doing this while having a packet sniffer running showed me what the
> corresponding HTTP header is.
>From the docs that I came across,
HTTP/1.1:
- "Range" header in request
- "multipart/byteranges" type in the response
Older HTTP:
- "Request-Range" header
- "multipart/x-byteranges" type
but the exact syntax I don't remember.
--
William Park, Open Geometry Consulting, <opengeometry at yahoo.ca>
8-CPU Cluster, Hosting, NAS, Linux, LaTeX, python, vim, mutt, tin
More information about the Python-list
mailing list