Sign in
webkit
/
WebKit
/
5d02745b8400f22c08ff07eebb5126f6409ceb61
/
.
/
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 );