view tests/echoBlob.ur @ 2292:23eaec04e0f8

Ran a benchmark!
author Ziv Scully <ziv@mit.edu>
date Tue, 17 Nov 2015 04:08:12 -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>