view tests/reqheader.ur @ 560:d42431608856

Spell check
author Adam Chlipala <adamc@hcoop.net>
date Tue, 09 Dec 2008 14:43:43 -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>