Sign in
webkit
/
WebKit
/
0aa192ef1bb53cd65ee1ccdfb1bf23e98c2e6e65
/
.
/
LayoutTests
/
http
/
tests
/
cache
/
resources
/
xhr-vary-header-response.php
blob: 02b8e567694f92aef19b9a5c411ecce5e4203ad4 [
file
] [
log
] [
blame
]
<?
php
header
(
"Vary: Origin"
);
header
(
"Cache-Control: max-age=31536000"
);
if
(
isset
(
$_SERVER
[
'HTTP_ORIGIN'
]))
{
header
(
"Access-Control-Allow-Origin: http://127.0.0.1:8000"
);
echo
"Cross origin "
;
}
else
{
echo
"Same origin "
;
}
?>
response