[REBOL] Re: About User-Agent
From: al::bri::xtra::co::nz at: 14-Apr-2001 9:16
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/