Sign in
webkit
/
WebKit
/
fdc942c5052133d9f3534312553b7ba8c309c092
/
.
/
LayoutTests
/
http
/
tests
/
xmlhttprequest
/
resources
/
print-headers.php
blob: bfb291cc7e78c060586c43448772abce0a4cdf66 [
file
] [
log
] [
blame
]
<?
php
$headers
=
apache_request_headers
();
header
(
"Content-Type: text/plain"
);
header
(
"Cache-Control: no-store"
);
foreach
(
$headers
as
$header
=>
$value
)
{
$request_headers
[
strtolower
(
$header
)]
=
$value
;
}
echo json_encode
(
$request_headers );