view tests/blob.ur @ 1572:5530a8075b62

IF THEN ELSE conditional for SQL.
author Karn Kallio <kkallio@eka>
date Fri, 14 Oct 2011 02:33:03 -0430
parents 67ebd30a2283
children
line wrap: on
line source
fun main () =
  setHeader (blessResponseHeader "X-Test") "Test";
  return <xml><body>Test</body></xml>

fun bad () =
   setHeader (blessResponseHeader "X-Test") "Test";
   returnBlob (textBlob "hello") (blessMime "text/plain")