User-Agent

Dave Cragg dcragg at lacscentre.co.uk
Sat May 15 18:52:00 EDT 2004


At 7:57 pm +0200 15/5/04, Derek Bump wrote:
>Is there any way to change the "User-Agent" that libURL uses?  Some sites
>only allow some user-agents to enter, and I'd like to change it so it
>reflects Internet Explorer.

Use the httpHeaders property to override the default. For example:

   put "Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)" into tString
   set the httpHeaders to "User-Agent:" && tString

Cheers
Dave


More information about the use-livecode mailing list