| Index: LayoutTests/http/tests/xmlhttprequest/resources/xmlhttprequest-no-content-type-with-text.php
|
| diff --git a/LayoutTests/http/tests/xmlhttprequest/resources/xmlhttprequest-no-content-type-with-text.php b/LayoutTests/http/tests/xmlhttprequest/resources/xmlhttprequest-no-content-type-with-text.php
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e92ec64b53c0358177e864daaa2fd5cecc7ca9ed
|
| --- /dev/null
|
| +++ b/LayoutTests/http/tests/xmlhttprequest/resources/xmlhttprequest-no-content-type-with-text.php
|
| @@ -0,0 +1,11 @@
|
| +<?php
|
| + $request_origin_value = $_SERVER["HTTP_ORIGIN"];
|
| + $request_content_type_value = $_SERVER["CONTENT_TYPE"];
|
| +
|
| + if (($_SERVER['REQUEST_METHOD'] == "POST") && ($request_content_type_value == "text/plain;charset=UTF-8")) {
|
| + echo "PASS";
|
| + } else {
|
| + echo "FAIL";
|
| + echo " Content-Type received $request_content_type_value";
|
| + }
|
| +?>
|
|
|