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