Mercurial > urweb
view tests/reqheader.ur @ 2040:8ea382a57ce2
Fix index-matching bug in MonoReduce effect calculation
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Mon, 21 Jul 2014 08:11:03 -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>