diff src/prepare.sml @ 1065:217eb87dde31

Basis.url and redirects
author Adam Chlipala <adamc@hcoop.net>
date Thu, 10 Dec 2009 13:32:09 -0500
parents 467285bb5578
children b2311dfb3158
line wrap: on
line diff
--- a/src/prepare.sml	Thu Dec 10 12:06:03 2009 -0500
+++ b/src/prepare.sml	Thu Dec 10 13:32:09 2009 -0500
@@ -202,6 +202,13 @@
             ((EReturnBlob {blob = blob, mimeType = mimeType, t = t}, loc), st)
         end
 
+      | ERedirect (e, t) =>
+        let
+            val (e, st) = prepExp (e, st)
+        in
+            ((ERedirect (e, t), loc), st)
+        end
+
       | EWrite e =>
         let
             val (e, st) = prepExp (e, st)