HTTP_RANGE
Moderator: General Moderators
-
cesarcesar
- Forum Contributor
- Posts: 111
- Joined: Mon Oct 18, 2004 3:28 pm
HTTP_RANGE
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.
-
cesarcesar
- Forum Contributor
- Posts: 111
- Joined: Mon Oct 18, 2004 3:28 pm
Re: HTTP_RANGE
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...
This link explains a lot about HTTP_RANGE. It still leaves out two important points...
What types of files satisfy the byte range request? also,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.
How do i know if my server supports it?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.