Sign in
webkit
/
WebKit
/
a659cc2560ef03ca74fc359443f5a95cd40bafd1
/
.
/
LayoutTests
/
imported
/
blink
/
http
/
tests
/
xmlhttprequest
/
resources
/
post-echo.php
blob: 8d180669ec3b798fe40fd46f68e0eb8aa4b72060 [
file
] [
log
] [
blame
]
<?
php
if
(
isset
(
$_POST
[
'type'
]))
header
(
"Content-Type: {$_POST['type']}"
);
else
header
(
"Content-Type: text/plain"
);
$str
=
@file_get_contents
(
'php://input'
);
header
(
"Content-Length: "
.
strlen
(
$str
));
echo $str
;
?>