Sign in
webkit
/
WebKit
/
1f10227393c9dc21c9d2643241b56515c886ce78
/
.
/
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