view tests/echoBlob.ur @ 1440:6064ddd90ca6

Fix C compilation of empty records; use DESTDIR in 'make install/uninstall'
author Adam Chlipala <adam@chlipala.net>
date Sun, 20 Mar 2011 13:15:11 -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>