blob: 93bef8236835878a07ac568fac2796fedbfe1b4c [file] [log] [blame]
<?php
if (strpos($_SERVER['HTTP_ACCEPT'], 'video/*') !== false) {
header('HTTP/1.1 301 Moved Permanently');
header('Location: ' . $_GET['video']);
header('Cache-Control: no-cache, must-revalidate');
return;
}
header('HTTP/1.1 400 Bad Request');
?>