diff options
Diffstat (limited to '')
-rw-r--r-- | dom/base/test/file_bug1011748_redirect.sjs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dom/base/test/file_bug1011748_redirect.sjs b/dom/base/test/file_bug1011748_redirect.sjs new file mode 100644 index 0000000000..3dec893675 --- /dev/null +++ b/dom/base/test/file_bug1011748_redirect.sjs @@ -0,0 +1,5 @@ +// SJS handler to redirect the XMLHttpRequest object to file_bug1011748_OK.sjs +function handleRequest(request, response) { + response.setStatusLine(null, 302, "Moved Temporarily"); + response.setHeader("Location", "file_bug1011748_OK.sjs", false); +} |