blob: c0f39652031d99cfdb3048aa56380d76ebd8af36 [file] [log] [blame]
<?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 {
echo "OK\n";
}
?>