pjs/content/base/test/bug461735-redirect2.sjs

5 строки
210 B
JavaScript

function handleRequest(request, response) {
response.setStatusLine(null, 302, "Found");
response.setHeader("Location", "http://mochi.test:8888/tests/content/base/test/bug461735-post-redirect.js", false);
}