diff options
Diffstat (limited to 'dom/workers/test/serviceworkers/fetch/redirect.sjs')
-rw-r--r-- | dom/workers/test/serviceworkers/fetch/redirect.sjs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dom/workers/test/serviceworkers/fetch/redirect.sjs b/dom/workers/test/serviceworkers/fetch/redirect.sjs new file mode 100644 index 000000000..dab558f4a --- /dev/null +++ b/dom/workers/test/serviceworkers/fetch/redirect.sjs @@ -0,0 +1,4 @@ +function handleRequest(request, response) { + response.setStatusLine(request.httpVersion, 301, "Moved Permanently"); + response.setHeader("Location", "synthesized-redirect-twice-real-file.txt"); +} |