Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / media / resources / mixed-range-response.php
blob6d6dbd927e6d1626b2cb5ffa3773293470bb46bb
1 <?php
2 if (isset($_SERVER['HTTP_RANGE']) && ($_SERVER['HTTP_RANGE'] == 'bytes=0-')) {
3 header('HTTP/1.0 206 Partial Content');
4 header('Content-Type: audio/ogg');
5 # 12983 is the file size of media/content/silence.oga.
6 header('Content-Range: bytes 0-2/12983');
7 echo 'Ogg';
8 return;
10 header('HTTP/1.1 307 Temporary Redirect');
11 header('Location: ' . $_GET["location"]);