Mercurial > urweb
view tests/blob.ur @ 2165:7dfce558aca2
Change 'make test' to work before 'make install'
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Thu, 06 Aug 2015 09:57:47 -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")