diff options
Diffstat (limited to 'dom/workers/test/redirect_to_foreign.sjs')
-rw-r--r-- | dom/workers/test/redirect_to_foreign.sjs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dom/workers/test/redirect_to_foreign.sjs b/dom/workers/test/redirect_to_foreign.sjs new file mode 100644 index 000000000..1a5e24a59 --- /dev/null +++ b/dom/workers/test/redirect_to_foreign.sjs @@ -0,0 +1,4 @@ +function handleRequest(request, response) { + response.setStatusLine("1.1", 302, "Found"); + response.setHeader("Location", "http://example.org/tests/dom/workers/test/foreign.js"); +} |