Re: LWP and Javascript?

2002-11-27 Thread Gisle Aas
"Octavian Rasnita" <[EMAIL PROTECTED]> writes: > A page is just a page even though it has a meta refresh tag in it. > But it would be very nice to be able to set an option in LWP to automaticly > redirect to the destination page without needing to parse the meta tags, get > the URL, ... You don't

Re: LWP and Javascript?

2002-11-27 Thread Octavian Rasnita
;; "Libwww Perl" <[EMAIL PROTECTED]> Sent: Wednesday, November 27, 2002 2:36 PM Subject: RE: LWP and Javascript? > -Original Message- > From: Octavian Rasnita [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 26, 2002 3:52 PM > To: Gisle Aas > Cc: Keary Suska;

RE: LWP and Javascript?

2002-11-27 Thread Rob Nagler
Tillman, James writes: > I would strongly suggest that if the "meta-refresh equals redirect" behavior > is added to LWP, that it be enabled with a parameter (perhaps at object > creation) and disabled by default. I agree. I think the redirect issue is best handled by your own code. We handle the

RE: LWP and Javascript?

2002-11-27 Thread Tillman, James
> -Original Message- > From: Octavian Rasnita [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 26, 2002 3:52 PM > To: Gisle Aas > Cc: Keary Suska; Libwww Perl > Subject: Re: LWP and Javascript? > > > Yes, I think this would be a good idea. > If the

Re: LWP and Javascript?

2002-11-26 Thread Octavian Rasnita
EMAIL PROTECTED]> Cc: "Keary Suska" <[EMAIL PROTECTED]>; "Libwww Perl" <[EMAIL PROTECTED]> Sent: Tuesday, November 26, 2002 9:49 PM Subject: Re: LWP and Javascript? "Octavian Rasnita" <[EMAIL PROTECTED]> writes: > Yes but this means that LWP parse

Re: LWP and Javascript?

2002-11-26 Thread Gisle Aas
"Octavian Rasnita" <[EMAIL PROTECTED]> writes: > Yes but this means that LWP parse the header for reading the meta tags. > If it reads the meta tags, couldn't it consider http-equiv="refresh" a page > redirection? Possibly. But only if the timeout value is 0. Regards, Gisle

Re: LWP and Javascript?

2002-11-26 Thread Octavian Rasnita
le Aas" <[EMAIL PROTECTED]> To: "Octavian Rasnita" <[EMAIL PROTECTED]> Cc: "Keary Suska" <[EMAIL PROTECTED]>; "Libwww Perl" <[EMAIL PROTECTED]> Sent: Tuesday, November 26, 2002 6:36 AM Subject: Re: LWP and Javascript? "Octavian Ras

Re: LWP and Javascript?

2002-11-25 Thread Gisle Aas
"Octavian Rasnita" <[EMAIL PROTECTED]> writes: > I know that http-equiv meta tags are considered HTTP headers by most > browsers. > Shouldn't be these tags considered HTTP headers by LWP also? > just an idea. They are already automatically added to the HTTP::Response object as HTTP headers.

Re: LWP and Javascript?

2002-11-25 Thread Octavian Rasnita
Suska" <[EMAIL PROTECTED]> To: "Libwww Perl" <[EMAIL PROTECTED]> Sent: Monday, November 25, 2002 7:00 PM Subject: Re: LWP and Javascript? on 11/24/02 10:33 PM, [EMAIL PROTECTED] purportedly said: > If some web sites set cookies using a javascript code, is there a way

Re: LWP and Javascript?

2002-11-25 Thread Keary Suska
on 11/24/02 10:33 PM, [EMAIL PROTECTED] purportedly said: > If some web sites set cookies using a javascript code, is there a way to > understand that code if I get that page with the LWP module? > > Does LWP recognise a meta refresh to another page, as a page redirection? LWP does not look at pa

LWP and Javascript?

2002-11-25 Thread Octavian Rasnita
Hi all, If some web sites set cookies using a javascript code, is there a way to understand that code if I get that page with the LWP module? Does LWP recognise a meta refresh to another page, as a page redirection? Thanks a lot. Teddy, Teddy's Center: http://teddy.fcc.ro/ Email: [EMAIL PROTEC