mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +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'));
|
|
}
|