summaryrefslogtreecommitdiff
path: root/inc/httputils.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2009-03-16 20:19:39 +0100
committerAndreas Gohr <andi@splitbrain.org>2009-03-16 20:19:39 +0100
commitb8b5563eb52dd24461cc3c309f2993c25ffc0b6f (patch)
treeca079b42bbe8d439b3222a2e81eff881da3540a8 /inc/httputils.php
parent758447cfa419f1a11bc022ef8168447992364e52 (diff)
downloadrpg-b8b5563eb52dd24461cc3c309f2993c25ffc0b6f.tar.gz
rpg-b8b5563eb52dd24461cc3c309f2993c25ffc0b6f.tar.bz2
fixed headers in multipart HTTP replies FS#1630
Ignore-this: 5bd12feffff1224e4cb3e1acf7fa86a0 darcs-hash:20090316191939-7ad00-0e3754648db6932ef2e0d7eec4668f50bdc85b87.gz
Diffstat (limited to 'inc/httputils.php')
-rw-r--r--inc/httputils.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/httputils.php b/inc/httputils.php
index 271b8272f..c55e9ab0d 100644
--- a/inc/httputils.php
+++ b/inc/httputils.php
@@ -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){