blob: 1f94a0c3136d58776bc58d8db6d1da8c9c509d29 [file] [log] [blame]
<?php
// Headers filtered in 'basic filtered response'
header('Set-Cookie: cookie3=test-cookie');
header('Set-Cookie2: cookie4=test-cookie2');
// Headers NOT filtered in 'CORS filtered response'
header('Cache-Control: private, no-store, no-cache, must-revalidate');
header('Content-Language: test-content-language');
header('Content-Type: test-content-type');
header('Expires: test-expires');
header('Last-Modified: test-last-modified');
header('Pragma: test-pragma');
if (isset($_GET['ACEHeaders']))
header("Access-Control-Expose-Headers: {$_GET['ACEHeaders']}");
// Other headers
header('X-test: test-x-test');
header('X-test2: test-x-test2');
header('Access-Control-Allow-Origin: *');
echo "Success.";
?>