view tests/reqheader.ur @ 924:803342eb2dc0

Add grid CSS ACL
author Adam Chlipala <adamc@hcoop.net>
date Thu, 10 Sep 2009 14:55:27 -0400
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>