Mercurial > urweb
view tests/csdebug.ur @ 1726:4df4521fbd3b
Removed excess zero byte from empty pages.
Zero byte sometimes breaks http tunneling in Safari. Empty page is a "Not Modified" response for app.js
author | Vladimir Shabanov <vshabanoff@gmail.com> |
---|---|
date | Wed, 25 Apr 2012 03:07:07 +0400 |
parents | bd34a4af516a |
children |
line wrap: on
line source
fun main () : transaction page = n <- source 0; return <xml><body> <button onclick={n' <- get n; set n (n' + 1); debug ("Message: " ^ show n')}/> </body></xml>