view tests/reqheader.ur @ 1960:93f3e35a7967

Manual: remove database version numbers from Debian package names, where possible
author Adam Chlipala <adam@chlipala.net>
date Sat, 18 Jan 2014 08:34:19 -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>