summaryrefslogtreecommitdiff
path: root/tests/contentDisposition.ur
diff options
context:
space:
mode:
Diffstat (limited to 'tests/contentDisposition.ur')
-rw-r--r--tests/contentDisposition.ur4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/contentDisposition.ur b/tests/contentDisposition.ur
new file mode 100644
index 00000000..8fe2b26c
--- /dev/null
+++ b/tests/contentDisposition.ur
@@ -0,0 +1,4 @@
+fun main () : transaction page =
+ setHeader (blessResponseHeader "Content-Disposition")
+ ("attachment; filename=test.txt");
+ returnBlob (textBlob "Hi there!") (blessMime "text/plain")