view tests/blob.ur @ 2266:afd12c75e0d6

Do SQL and pure caching in the same pass.
author Ziv Scully <ziv@mit.edu>
date Wed, 14 Oct 2015 15:45:04 -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")