view tests/reqheader.ur @ 543:c01415a171ed

Start of sql_exp
author Adam Chlipala <adamc@hcoop.net>
date Sun, 07 Dec 2008 09:19:53 -0500
parents 360cbc202756
children
line wrap: on
line source
fun main () : transaction page =
    ua <- requestHeader "User-Agent";
    case ua of
        None => return <xml>Not found</xml>
      | Some s => return <xml>User-Agent: {[s]}</xml>