Sign in
webkit
/
WebKit
/
6ac1ae7345a9a50f3760d4fdf5f8c6512c4a9901
/
.
/
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