Skip to content
Snippets Groups Projects
Commit b8b5563e authored by Andreas Gohr's avatar Andreas Gohr
Browse files

fixed headers in multipart HTTP replies FS#1630

Ignore-this: 5bd12feffff1224e4cb3e1acf7fa86a0

darcs-hash:20090316191939-7ad00-0e3754648db6932ef2e0d7eec4668f50bdc85b87.gz
parent 758447cf
No related branches found
No related tags found
No related merge requests found
......@@ -154,6 +154,7 @@ function http_rangeRequest($fh,$size,$mime){
echo HTTP_HEADER_LF.'--'.HTTP_MULTIPART_BOUNDARY.HTTP_HEADER_LF;
echo "Content-Type: $mime".HTTP_HEADER_LF;
echo "Content-Range: bytes $start-$end/$size".HTTP_HEADER_LF;
echo HTTP_HEADER_LF;
}else{
header("Content-Length: $len");
if($isrange){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment