Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Help with HTTP protocol

From: bry:itnisk at: 5-Mar-2004 15:23

just looking at it quickly I think the redirection you're going through is because the page is trying to set a cookie. I don't know if anyone has done anything to get rebol to read and accept cookies, probably not, If I remember correctly cURL does this, and someone suggested you try cURl recently. Then again as was also pointed out the site uses a lot of javascript, a lot, and it ain't pretty either, I don't think you're gonna get this site with rebol, because as was pointed out Rebol doesn't have a javascript interpreter.
> Hi Sunanda, > > Thanks for you help but it does not work
for me.
> Is there anything else that could be done
in order
> to let the host "think" I am using a
browser and not REBOL?
> The thing is that with a browser I can
read the URL with no problem at all.
> It's the first time that REBOL cannot read
an URL for me :(
> CArlos > > Em Quinta 04 Março 2004 16:57, you wrote: > > Carlos: > > > Now It seems my script is beeing
redirected to another page by the guys
> > > at Weather.Com. > > > > > > My question is: is there a way to ask
REBOL to present himself as a
> > > webbrowser > > > to a certain host? I ask you this
because the url above
> > >
( 8) still works with the
> > > > browser > > > > They may be sniffing you as being non-IE
and deliberately victimising you.
> > > > Try this: > > system/schemes/http/user-
agent: "Mozilla/4.0 (compatible; MSIE 5.5; Windows