view tests/echoBlob.ur @ 1632:4682b312e9d5

Fix client-side [int] parsing and extend server-side [time] parsing to support a format that also works portably in JavaScript
author Adam Chlipala <adam@chlipala.net>
date Sun, 04 Dec 2011 16:32:06 -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>