diff options
Diffstat (limited to 'LayoutTests/http/tests/security/resources/abe-allow-credentials.php')
-rw-r--r-- | LayoutTests/http/tests/security/resources/abe-allow-credentials.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/LayoutTests/http/tests/security/resources/abe-allow-credentials.php b/LayoutTests/http/tests/security/resources/abe-allow-credentials.php new file mode 100644 index 0000000..2ca7408 --- /dev/null +++ b/LayoutTests/http/tests/security/resources/abe-allow-credentials.php @@ -0,0 +1,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; +?> |