view tests/onerrorE.ur @ 1935:fda9d5af69e7

Only output Content-script-type header when there is client-side code
author Adam Chlipala <adam@chlipala.net>
date Thu, 12 Dec 2013 10:31:34 -0500
parents b4480a56cab7
children
line wrap: on
line source
fun err x = return <xml><body>
  <h1>Bad thing!</h1>

  {x}
</body></xml>