summaryrefslogtreecommitdiffstats
path: root/netwerk/test/mochitests/redirect.sjs
blob: 73efea59cfcbe3e7fdd1b07c9456929a828b17df (plain)
1
2
3
4
function handleRequest(request, response) {
  response.setStatusLine(request.httpVersion, 301, "Moved Permanently");
  response.setHeader("Location", "empty.html#");
}