Sign in
webkit
/
WebKit
/
36b74c3900290f2598b1d40cf6065a7028fc4a34
/
.
/
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