Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / media / resources / video-cookie-check-cookie.php
blob60a03c17f40842c322d013f79fd000d23cbf653f
1 <?php
2 if($_COOKIE["TEST"])
4 $extension = substr($_COOKIE["TEST"], -3);
6 if ($extension == 'mp4') {
7 header("Content-Type: video/mp4");
8 $fileName = "test.mp4";
9 } else if ($extension == 'ogv') {
10 header("Content-Type: video/ogg");
11 $fileName = "test.ogv";
12 } else
13 die;
15 header("Cache-Control: no-store");
16 header("Connection: close");
18 $fn = fopen($fileName, "r");
19 fpassthru($fn);
20 fclose($fn);
21 exit;