Mercurial > urweb
view tests/echoBlob.ur @ 1167:5eca51fcd559
Remove Basis.getRequestHeader, because it can subvert cookie security
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sat, 13 Feb 2010 13:10:05 -0500 |
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>