On 12/12/06, Indika Bandara <[EMAIL PROTECTED]> wrote: --- In [email protected], "Paul Herring" <[EMAIL PROTECTED]> wrote: > > On 12/11/06, Indika Bandara <[EMAIL PROTECTED]> wrote: > > > hello, > > > > > > sorry if this is a wrong question in the wrong place. since many > > > knowelegable persons are in this forum thought of askin this > > > (programmers are supposed to know every thing right?) > > > > > > > > > How do the web clients which download files by parts work?(e.g > > > prozilla, download accelerator-DAP etc) > > > > Most downloaders (IE, Mozilla e.g.) download from the site using one > > connection, and request all bytes from 0 to <length of file>. What the > > clients you're asking about do is make more than one connection and > > ask for sub-portions of the file on each connection. > > how is is actually implemented? > a request is normally like > > GET www.abc.com/file.zip > > isn't it? so how can one request portions of a file?
http://www.ietf.org/rfc/rfc2616.txt The semantics of the GET method change to a "partial GET" if the request message includes a Range header field. A partial GET requests that only part of the entity be transferred, as described in section 14.35. The partial GET method is intended to reduce unnecessary network usage by allowing partially-retrieved entities to be completed without transferring data already held by the client. -- PJH #713059 +(1255)- [X] <SaintAlvus> Does the name Doctor Pavlov ring a bell?
