Rondon wrote:
> How can I set up the environment variable User Agent to change from REBOL
to Mozilla? The example at the Manual is not working. Any clue ?

This works for me:

if not found? find system/schemes/http/user-agent "Mozilla" [
    system/schemes/http/user-agent: rejoin [
        "Mozilla" "/" "4.0"
        " (Compatible; REBOL " rebol/version ")"
        ]
    ]

>> system/schemes/http/user-agent
== "Mozilla/4.0 (Compatible; REBOL 2.5.0.3.1)"

I hope that helps!

Andrew Martin
ICQ: 26227169 http://members.nbci.com/AndrewMartin/
-><-


-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to