[XHR] overrideMimeType() should be able to change encoding in HEADERS RECEIVED state
[WebKit-https.git] / LayoutTests / http / tests / xmlhttprequest / resources / get-content.php
1 <?php
2   $content = $_GET["content"] ? $_GET["content"] : "";
3   $type = $_GET["type"] ? $_GET["type"] : "";
4   header("HTTP/1.1 200 OK");
5   header("Content-Type:" . $type);
6
7   echo $content;
8   exit;
9 ?>