Mercurial > urweb
view tests/blob.ur @ 2249:c05851bf7861
Merge.
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Sat, 12 Sep 2015 17:11:33 -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")