summaryrefslogtreecommitdiffstats
path: root/LayoutTests/http/tests/security/resources/abe-allow-credentials.php
blob: 2ca740807aa1f319cae83287a5be62d047151b97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?php
header("Access-Control-Allow-Origin: http://127.0.0.1:8000");
header("Access-Control-Allow-Credentials: true");

$name = 'abe.png';
$fp = fopen($name, 'rb');
header("Content-Type: image/png");
header("Content-Length: " . filesize($name));

fpassthru($fp);
exit;
?>