passing headers - thanks to all

Bryan McCormick brymac at i-2000.com
Mon Sep 30 13:34:00 EDT 2002


Dave and Jan,

Thanks so much for your help. Turns out it was just the Beast of Redmond 
like nature of the .asp that wanted this to be an IE user agent on Windows. 
Bogus, but that's the way CBOE set it up.

At 08:58 PM 9/29/02 +0100, you wrote:
>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
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>http://lists.runrev.com/mailman/listinfo/use-revolution





More information about the Use-livecode mailing list