view tests/reqheader.ur @ 570:af0df56ecc2c

Typo report from megacz
author Adam Chlipala <adamc@hcoop.net>
date Sat, 20 Dec 2008 18:24:12 -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>