summaryrefslogtreecommitdiffstats
path: root/dom/base/test/file_bug622088.sjs
blob: 87acdc3b8b16ffccfdd3437ce3185b2b9ef62067 (plain)
1
2
3
4
5
function handleRequest(request, response) {
  // Echos the referrer back to the requester.
  response.setHeader("Content-Type", "text/plain", false);
  response.write(request.getHeader("Referer"));
}