Mercurial > urweb
annotate tests/headers.ur @ 1657:2b7d3d99dc42
Prevent unifications of 'others' pieces in record summaries, when both pieces contain unification variables (to prevent undesired unifications)
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Thu, 05 Jan 2012 17:10:43 -0500 |
parents | 2f5fd248588d |
children |
rev | line source |
---|---|
adam@1465 | 1 fun action () = |
adam@1465 | 2 setHeader (blessResponseHeader "Location") "http://www.google.com/"; |
adam@1465 | 3 return <xml/> |
adam@1465 | 4 |
adam@1465 | 5 fun main () = |
adam@1465 | 6 ag <- getHeader (blessRequestHeader "User-Agent"); |
adam@1465 | 7 return <xml><body> |
adam@1465 | 8 User agent: {[ag]} |
adam@1465 | 9 |
adam@1465 | 10 <form> <submit action={action}/> </form> |
adam@1465 | 11 </body></xml> |