Mercurial > urweb
diff src/cjr_print.sml @ 599:889dc9fceb3a
Use header to set default script type
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 11 Jan 2009 10:22:19 -0500 |
parents | 162d5308e34f |
children | 330a7de47914 |
line wrap: on
line diff
--- a/src/cjr_print.sml Sun Jan 11 10:05:06 2009 -0500 +++ b/src/cjr_print.sml Sun Jan 11 10:22:19 2009 -0500 @@ -2054,6 +2054,8 @@ newline, string "uw_write_header(ctx, \"Content-type: text/html\\r\\n\");", newline, + string "uw_write_header(ctx, \"Content-script-type: text/javascript\\r\\n\");", + newline, string "uw_write(ctx, \"<html>\");", newline, box [string "{",