summaryrefslogtreecommitdiffstats
path: root/dom/serviceworkers/test/fetch/origin/index.sjs
blob: ca11827792021d51518cfe6e98cd41063f10b805 (plain)
1
2
3
4
5
6
7
8
function handleRequest(request, response) {
  response.setStatusLine(null, 308, "Permanent Redirect");
  response.setHeader(
    "Location",
    "http://example.org/tests/dom/serviceworkers/test/fetch/origin/realindex.html",
    false
  );
}