2009-09-30 Maciej Stachowiak <mjs@apple.com>
[WebKit.git] / LayoutTests / http / tests / loading / resources / redirect-methods-result.php
1 <?php
2 $status = (int)$_REQUEST['status'];
3 if ($status > 200 && !$_GET['redirected']) {
4   header("Location: redirect-methods-result.php?redirected=true", TRUE, $status);
5   exit();
6 }
7 ?>
8 Request Method: <?php echo $_SERVER['REQUEST_METHOD'] ?><br> 
9 Request Body: <?php echo @file_get_contents('php://input') ?><br>
10 Request Content-Type: <?php echo $_SERVER["CONTENT_TYPE"]; ?>