Page 1 of 1
HTTP_RANGE
Posted: Wed Mar 05, 2008 12:02 pm
by cesarcesar
How/When is $_SERVER['HTTP_RANGE'] or $_ENV['HTTP_RANGE'] set? I am working on a resume download script that requires the HTTP_RANGE to be set... but no matter what i do i cant find how/when its set. Thanks.
Re: HTTP_RANGE
Posted: Wed Mar 05, 2008 1:20 pm
by cesarcesar
http://tools.ietf.org/id/draft-ietf-htt ... val-00.txt
This link explains a lot about HTTP_RANGE. It still leaves out two important points...
The server will send this header only for documents for which it will
be able to satisfy the byte range request, e.g. for PDF documents, or
images, which can be partially reloaded if the user interrupts the
page load, and image gets only partially cached.
What types of files satisfy the byte range request? also,
The Request-Range header is simply ignored
by a server that does not support it, and it will send the entire
document as a response.
How do i know if my server supports it?