Mercurial > urweb
view tests/blob.ur @ 2087:834b438d57f3
Move code from last changeset, to improve performance
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Fri, 05 Dec 2014 19:41:27 -0500 |
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")