Mercurial > urweb
view tests/reqheader.ur @ 1816:ae8b0e05522a
Manual addition for last changeset
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Tue, 04 Sep 2012 16:30:22 -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>