Mercurial > urweb
view tests/reqheader.ur @ 2060:cbc8bcf30c99
<cselect> and <coption> type fixes (grandfathered into release)
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Tue, 19 Aug 2014 11:17:39 -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>