Sign in
webkit
/
WebKit
/
0f9dda3eb5e8bee1224032800f3b156cd5ce812d
/
.
/
LayoutTests
/
http
/
tests
/
navigation
/
resources
/
referrer.py
blob: dd306dfc8be57e9fa596eef887069181985a9df5 [
file
] [
log
] [
blame
]
#!/usr/bin/env python3
import
os
import
sys
referer
=
os
.
environ
.
get
(
'HTTP_REFERER'
,
''
)
sys
.
stdout
.
write
(
'Cache-Control: no-store, private, max-age=0\r\n'
'Content-Type: text/plain\r\n\r\n'
'{}'
.
format
(
referer
)
)