summaryrefslogtreecommitdiffstats
path: root/layout/style/test/redirect.sjs
blob: b6249cadff1bfaf84f1f037773c84a7ed6ea7952 (plain)
1
2
3
4
5
function handleRequest(request, response)
{
  response.setStatusLine(request.httpVersion, 301, "Moved Permanently");
  response.setHeader("Location", request.queryString, false);
}