Mercurial > urweb
annotate tests/makeUrl.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 | 217eb87dde31 |
children |
rev | line source |
---|---|
adamc@1065 | 1 fun other () = return <xml>Hi!</xml> |
adamc@1065 | 2 |
adamc@1065 | 3 fun main () = return <xml>{[Basis.url (main ())]}, {[url (other ())]}</xml> |