| Index: LayoutTests/http/tests/xmlhttprequest/resources/post-echo.php
|
| diff --git a/LayoutTests/http/tests/xmlhttprequest/resources/post-echo.php b/LayoutTests/http/tests/xmlhttprequest/resources/post-echo.php
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8d180669ec3b798fe40fd46f68e0eb8aa4b72060
|
| --- /dev/null
|
| +++ b/LayoutTests/http/tests/xmlhttprequest/resources/post-echo.php
|
| @@ -0,0 +1,10 @@
|
| +<?php
|
| +if (isset($_POST['type']))
|
| + header("Content-Type: {$_POST['type']}");
|
| +else
|
| + header("Content-Type: text/plain");
|
| +
|
| +$str = @file_get_contents('php://input');
|
| +header("Content-Length: " . strlen($str));
|
| +echo $str;
|
| +?>
|
|
|