Mercurial > urweb
view tests/echoBlob.ur @ 975:8fe576c0bee9
Quoting JavaScript working
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 22 Sep 2009 15:12:09 -0400 |
parents | f7e2026dd5ae |
children |
line wrap: on
line source
fun echo r = returnBlob (fileData r.Data) (blessMime (fileMimeType r.Data)) fun main () = return <xml><body> <form> <upload{#Data}/> <submit action={echo}/> </form> </body></xml>