author | puhley |
Thu, 03 May 2012 14:47:37 -0700 | |
branch | testJam |
changeset 42 | eed21384f35b |
parent 39 | 9fae55c4fcd9 |
child 43 | 9a01b8703f04 |
tests/cors/submitted/webkit/resources/access-control-basic-allow.php |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/cors/submitted/webkit/resources/access-control-basic-allow.php Thu May 03 14:47:37 2012 -0700 @@ -0,0 +1,10 @@ +<?php + +header("Content-Type: text/plain"); +header("Access-Control-Allow-Credentials: true"); +header("Access-Control-Allow-Origin:" . $_SERVER['HTTP_ORIGIN']); + +echo "PASS: Cross-domain access allowed."; + +?> +