cesarcesar Posted March 5, 2008 Share Posted March 5, 2008 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. Link to comment https://forums.phpfreaks.com/topic/94540-http_range/ Share on other sites More sharing options...
cesarcesar Posted March 5, 2008 Author Share Posted March 5, 2008 http://tools.ietf.org/id/draft-ietf-http-range-retrieval-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? Link to comment https://forums.phpfreaks.com/topic/94540-http_range/#findComment-484140 Share on other sites More sharing options...
cesarcesar Posted February 1, 2009 Author Share Posted February 1, 2009 Still looking for info on this subject. thanks. Link to comment https://forums.phpfreaks.com/topic/94540-http_range/#findComment-752216 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.