view tests/blob.ur @ 1480:aa0c6382aa57

top.urs: More comments
author Robin Green <greenrd@greenrd.org>
date Tue, 28 Jun 2011 11:55:57 +0100
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")