Mercurial > urweb
view tests/crypt.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 | a5bfed32d4f7 |
children |
line wrap: on
line source
fun cryptIt r = return <xml><body> {[crypt r.Pass "AB"]} </body></xml> fun main () = return <xml><body> <form><textbox{#Pass}/> <submit action={cryptIt}/></form> </body></xml>