Mercurial > urweb
view tests/blob.ur @ 1573:34364e383bed
For new IF, fix Monoize typing and add to manual
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sat, 15 Oct 2011 09:04:41 -0400 |
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")