gecko/toolkit/mozapps/extensions/test/bug435743.sjs

5 lines
181 B
JavaScript

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