summaryrefslogtreecommitdiffstats
path: root/dom/cache/test/mochitest/mirror.sjs
diff options
context:
space:
mode:
Diffstat (limited to 'dom/cache/test/mochitest/mirror.sjs')
-rw-r--r--dom/cache/test/mochitest/mirror.sjs5
1 files changed, 5 insertions, 0 deletions
diff --git a/dom/cache/test/mochitest/mirror.sjs b/dom/cache/test/mochitest/mirror.sjs
new file mode 100644
index 0000000000..0006aba8f0
--- /dev/null
+++ b/dom/cache/test/mochitest/mirror.sjs
@@ -0,0 +1,5 @@
+function handleRequest(request, response) {
+ response.setStatusLine(request.httpVersion, 200, "OK");
+ response.setHeader("Mirrored", request.getHeader("Mirror"));
+ response.write(request.getHeader("Mirror"));
+}