passing headers...help!

Dave Cragg dcragg at lacscentre.co.uk
Sun Sep 29 15:05:01 EDT 2002


At 2:09 am -0400 29/9/02, Bryan McCormick wrote:
>OK folks, this one is beyond my skills. How do I get Rev to send
>this URL properly to get the page back? I suspect it involves
>sending custom headers and such, but how do I know how the CGI
>expects the information?
>
>http://www.cboe.com/Common/PageViewer.asp?HEAD=Market+Statistics+Summary&SEC=3&DIR=TTMDMarketStat&Calendar=1&Dy=26&Mo=9&Yr=2002
>
>Help much appreciated.

It looks like this url wants a particular User-Agent header. Try 
inserting this line before the "get url" command:

set the httpHeaders to "User-Agent: Mozilla/4.0 (compatible;MSIE 
5.5;Windows 98)"

Cheers
Dave Cragg



More information about the use-livecode mailing list