| Index: third_party/WebKit/LayoutTests/http/tests/inspector-protocol/resources/cors-data.php
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector-protocol/resources/cors-data.php b/third_party/WebKit/LayoutTests/http/tests/inspector-protocol/resources/cors-data.php
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..fbcd2f019c7e71f1ec1c842667a2783349e40051
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector-protocol/resources/cors-data.php
|
| @@ -0,0 +1,9 @@
|
| +<?php
|
| +ob_start();
|
| +header('Access-Control-Allow-Headers: origin, content-type, accept, authorization');
|
| +header('Access-Control-Allow-Methods: GET, POST, PUT, PATCH, DELETE, OPTIONS, HEAD');
|
| +header('Access-Control-Allow-Origin: *');
|
| +if ($_SERVER['REQUEST_METHOD'] == 'OPTIONS')
|
| + exit;
|
| +
|
| +echo 'Some content';
|
|
|