diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-04-26 09:02:17 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-04-26 09:02:17 -0400 |
commit | 38507c697c6b5f277cabc5eb61afff14ea02da07 (patch) | |
tree | 0405c498a9fae8ff066ca8fdeafa8f85b0615dbe /lib | |
parent | d2274ae571370a5f0b88a6b0a5b264fde29378b9 (diff) |
Returning a blob as page result
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ur/basis.urs | 4 |
1 files changed, 4 insertions, 0 deletions
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 [] [] [] |