gecko/layout/style/test/redirect.sjs

6 lines
181 B
JavaScript

function handleRequest(request, response)
{
response.setStatusLine(request.httpVersion, 301, "Moved Permanently");
response.setHeader("Location", request.queryString, false);
}