From b8b5563eb52dd24461cc3c309f2993c25ffc0b6f Mon Sep 17 00:00:00 2001 From: Andreas Gohr <andi@splitbrain.org> Date: Mon, 16 Mar 2009 20:19:39 +0100 Subject: [PATCH] fixed headers in multipart HTTP replies FS#1630 Ignore-this: 5bd12feffff1224e4cb3e1acf7fa86a0 darcs-hash:20090316191939-7ad00-0e3754648db6932ef2e0d7eec4668f50bdc85b87.gz --- inc/httputils.php | 1 + 1 file changed, 1 insertion(+) 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){ -- GitLab