<html>
<head>
<script>
var doTest = function () {
    if (window.testRunner) {
        window.testRunner.dumpAsText();
        window.testRunner.waitUntilDone();
    }
    document.getElementById("form1").submit();
};
</script>
</head>
<body onload="doTest()">
<form id="form1" action="resources/redirection-response.py?status=301&target=redirected-post-request-contents.py?content=false" method="post">
<input type="text" name="text1" value="some text"><br>
</form>
</body>
</html>
