summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-05-02 18:20:15 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-05-02 18:20:15 -0400
commit2d37bf0ef2c634819293a191eff9799934b08346 (patch)
tree0baf5761c294a6cf6f12d93b16849bec6a4eb9cd /lib
parent20d3fa9974879189544b752e43842a67c1fec0b9 (diff)
Runtime URL and MIME type filtering
Diffstat (limited to 'lib')
-rw-r--r--lib/ur/basis.urs2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ur/basis.urs b/lib/ur/basis.urs
index e5175a08..25ad2786 100644
--- a/lib/ur/basis.urs
+++ b/lib/ur/basis.urs
@@ -514,6 +514,7 @@ con tr = [Body, Tr]
type url
val bless : string -> url
+val checkUrl : string -> option url
val dyn : use ::: {Type} -> bind ::: {Type} -> unit
-> tag [Signal = signal (xml body use bind)] body [] use bind
@@ -600,6 +601,7 @@ val upload : formTag file [] [Value = string, Size = int]
type mimeType
val blessMime : string -> mimeType
+val checkMime : string -> option mimeType
val returnBlob : t ::: Type -> blob -> mimeType -> transaction t
val blobSize : blob -> int