Mercurial > urweb
view tests/blob.ur @ 2263:dfadb5effdc0
Merge bbaren's fix for bug 209.
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Tue, 13 Oct 2015 14:22:05 -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")