diff options
Diffstat (limited to 'LayoutTests/http/tests/appcache/resources/auth/manifest.php')
-rw-r--r-- | LayoutTests/http/tests/appcache/resources/auth/manifest.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/LayoutTests/http/tests/appcache/resources/auth/manifest.php b/LayoutTests/http/tests/appcache/resources/auth/manifest.php new file mode 100644 index 0000000..ea09957 --- /dev/null +++ b/LayoutTests/http/tests/appcache/resources/auth/manifest.php @@ -0,0 +1,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"; + } +?> |