root/LayoutTests/http/tests/xmlhttprequest/resources/access-control-basic-post-success-no-content-type.php

/* [<][>][^][v][top][bottom][index][help] */
<?php
    $request_origin_value = $_SERVER["HTTP_ORIGIN"];

    if ($_SERVER['REQUEST_METHOD'] == "POST") {
        if (!is_null($request_origin_value))
            header("Access-Control-Allow-Origin: $request_origin_value");
        echo "PASS";
    } else {
        echo "FAIL";
    }
?>

/* [<][>][^][v][top][bottom][index][help] */