Mercurial > urweb
view tests/reqheader.ur @ 2210:69c0f36255cb
Merge.
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Sat, 31 May 2014 22:23:25 -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>