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