Changeset 157577 in webkit


Ignore:
Timestamp:
Oct 17, 2013 9:19:19 AM (11 years ago)
Author:
commit-queue@webkit.org
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 <Andres Gomez> 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:
Location:
trunk/LayoutTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r157567 r157577  
     12013-10-17  Andres Gomez  <agomez@igalia.com>
     2
     3        certain http media tests doesn't receive the expected "Content-Length" header
     4        https://bugs.webkit.org/show_bug.cgi?id=122965
     5
     6        Reviewed by Eric Carlson.
     7
     8        Fixed PHP syntax so "Content-Length" HTTP Header is included in
     9        the response.
     10
     11        * http/tests/media/resources/serve-video.php:
     12
    1132013-10-17  Mihnea Ovidenie  <mihnea@adobe.com>
    214
  • trunk/LayoutTests/http/tests/media/resources/serve-video.php

    r120660 r157577  
    2424    header("Content-Type: " . $type);
    2525    header("Accept-Ranges: bytes");
    26     header("Content-Length: " . ($end - $start) + 1);
     26    header("Content-Length: " . ($end - $start + 1));
    2727    if ($contentRange)
    2828                header("Content-Range: bytes " . $start . "-" . $end . "/" . $fileSize);
Note: See TracChangeset for help on using the changeset viewer.