view tests/echoBlob.ur @ 1456:d674fb9499c4

Include type attribute in script tag for generating valid XHTML.
author Karn Kallio <kkallio@eka>
date Fri, 06 May 2011 20:51:40 -0430
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>