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

7 строки
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'));
}