gecko-dev/content/base/test/file_bug622088.sjs

7 lines
200 B
JavaScript

function handleRequest(request, response)
{
// Echos the referrer back to the requester.
response.setHeader('Content-Type', 'text/plain', false);
response.write(request.getHeader('Referer'));
}