Title: [157577] trunk/LayoutTests
Revision
157577
Author
[email protected]
Date
2013-10-17 09:19:19 -0700 (Thu, 17 Oct 2013)

Log Message

certain http media tests doesn't receive the expected "Content-Length" header
https://bugs.webkit.org/show_bug.cgi?id=122965

Patch by Andres Gomez <[email protected]> on 2013-10-17
Reviewed by Eric Carlson.

Fixed PHP syntax so "Content-Length" HTTP Header is included in
the response.

* http/tests/media/resources/serve-video.php:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (157576 => 157577)


--- trunk/LayoutTests/ChangeLog	2013-10-17 15:47:22 UTC (rev 157576)
+++ trunk/LayoutTests/ChangeLog	2013-10-17 16:19:19 UTC (rev 157577)
@@ -1,3 +1,15 @@
+2013-10-17  Andres Gomez  <[email protected]>
+
+        certain http media tests doesn't receive the expected "Content-Length" header
+        https://bugs.webkit.org/show_bug.cgi?id=122965
+
+        Reviewed by Eric Carlson.
+
+        Fixed PHP syntax so "Content-Length" HTTP Header is included in
+        the response.
+
+        * http/tests/media/resources/serve-video.php:
+
 2013-10-17  Mihnea Ovidenie  <[email protected]>
 
         [CSS Regions] Anonymous nested regions

Modified: trunk/LayoutTests/http/tests/media/resources/serve-video.php (157576 => 157577)


--- trunk/LayoutTests/http/tests/media/resources/serve-video.php	2013-10-17 15:47:22 UTC (rev 157576)
+++ trunk/LayoutTests/http/tests/media/resources/serve-video.php	2013-10-17 16:19:19 UTC (rev 157577)
@@ -23,7 +23,7 @@
     header("Etag: " . '"' . $fileSize . "-" . filemtime($fileName) . '"');
     header("Content-Type: " . $type);
     header("Accept-Ranges: bytes");
-    header("Content-Length: " . ($end - $start) + 1);
+    header("Content-Length: " . ($end - $start + 1));
     if ($contentRange)
 		header("Content-Range: bytes " . $start . "-" . $end . "/" . $fileSize); 
     header("Connection: close");
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to