annotate tests/ahead.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 44f607a7f4cd
children
rev   line source
adam@1926 1 fun main () : transaction page = return <xml>
adam@1926 2 <head>
adam@1926 3 <script code={alert "Hi!"}/>
adam@1926 4 </head>
adam@1926 5 <body>
adam@1926 6 <active code={alert "Bye!"; return <xml/>}/>
adam@1926 7 </body>
adam@1926 8 </xml>