From bc7a09d702e53faaa882bb7b2591abe68ff5648e Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Sun, 26 Apr 2009 09:02:17 -0400 Subject: Returning a blob as page result --- lib/ur/basis.urs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/ur/basis.urs') diff --git a/lib/ur/basis.urs b/lib/ur/basis.urs index 1068ddb9..6e22ece3 100644 --- a/lib/ur/basis.urs +++ b/lib/ur/basis.urs @@ -521,6 +521,10 @@ val fileData : file -> blob val upload : formTag file [] [Value = string, Size = int] +type mimeType +val blessMime : string -> mimeType +val returnBlob : t ::: Type -> blob -> mimeType -> transaction t + con radio = [Body, Radio] val radio : formTag string radio [] val radioOption : unit -> tag [Value = string] radio [] [] [] -- cgit v1.2.3