view tests/both2.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 a5eb8f87bc17
children
line wrap: on
line source
fun main () : transaction page =
    let
        fun submit r = return <xml/>
    in
        return <xml>
          <body>
            <form>
              <textbox{#Text}/><submit action={submit}/>
            </form>
          </body>
        </xml>
    end