mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-29 21:25:35 +00:00
7 lines
200 B
JavaScript
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'));
|
|
}
|