blob: 850b320a2346e033ee91a2898800fadee21399cf (
plain)
1
2
3
4
5
6
7
8
|
function handleRequest(request, response) {
response.setHeader("Content-Type", "text/plain", false);
response.setHeader("Cache-Control", "no-cache", false);
var referer = request.hasHeader("Referer") ? request.getHeader("Referer")
: "";
response.write("Referer: " + referer);
}
|