Sign in
webkit
/
WebKit
/
49c45f529348e27f11122daecbee33e4fa730919
/
.
/
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
)
)