Sign in
webkit
/
WebKit
/
1ebf7e1e8f30e7430c10eeac68b89a569f4602b2
/
.
/
LayoutTests
/
http
/
tests
/
xmlhttprequest
/
resources
/
cross-origin-preflight-get.php
blob: 484643909fadf58b543024d0f7300b131fa5ff4f [
file
] [
log
] [
blame
]
<?
php
if
(!
isset
(
$_SERVER
[
'HTTP_ORIGIN'
]))
{
echo
"FAIL: No origin header sent"
;
}
else
{
header
(
"Access-Control-Allow-Origin: *"
);
header
(
"Access-Control-Allow-Headers: X-Proprietary-Header"
);
echo
"PASS: Origin header correctly sent"
;
}
?>