--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/cors/submitted/webkit/resources/access-control-basic-whitelist-request-headers.php Thu May 03 15:45:35 2012 -0700
@@ -0,0 +1,17 @@
+<?php
+ header("Cache-Control: no-store");
+
+ if ($_SERVER['REQUEST_METHOD'] == "POST") {
+ header("Access-Control-Allow-Credentials: true");
+ header("Access-Control-Allow-Origin:" . $_SERVER["HTTP_ORIGIN"]);
+
+ header("Accept: " . $_SERVER['HTTP_ACCEPT']);
+ header("Accept-Language: " . $_SERVER['HTTP_ACCEPT_LANGUAGE']);
+ header("Content-Language: " . $_SERVER['HTTP_CONTENT_LANGUAGE']);
+ header("Content-Type: " . $_SERVER['CONTENT_TYPE']);
+
+ } else {
+ echo "\n";
+ }
+?>
+