mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +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'));
|
|
}
|