blob: ea099574db5957036adacab5990c079c6ecd142e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
<?php
if (!isset($_SERVER['PHP_AUTH_USER'])) {
header('WWW-Authenticate: Basic realm="WebKit AppCache Test Realm"');
header('HTTP/1.0 401 Unauthorized');
echo 'Authentication canceled';
exit;
} else {
header("Content-Type: text/cache-manifest");
echo "CACHE MANIFEST\n";
echo "subresource.php\n";
}
?>
|