Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Sep 2005 17:39:28 -0400
From:      Parv <parv@pair.com>
To:        Charles Maner <ckjmaner@yahoo.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Perl libwww--LWP::Simple
Message-ID:  <20050904213928.GA17782@holestein.holy.cow>
In-Reply-To: <20050904172305.32264.qmail@web54515.mail.yahoo.com>
References:  <20050904172305.32264.qmail@web54515.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
in message <20050904172305.32264.qmail@web54515.mail.yahoo.com>,
wrote Charles Maner thusly...
>
> When I use getstore to retrieve an actual  filename such as
> .pdf/.ppt/.jpg, LWP::Simple::getstore works well/as advertised.
> However, if it's plain html, (e.g., http://biz.yahoo.com/i/), it
> does not return an error code, but also returns no filename
> either.  The identical code, as indicated above, runs as is
> beautifully on Win32 (ActiveState Perl 5.8.7)
...
> I do notice, though, this site wants to plant a cookie.  Would
> this be an issue on FreeBSD's libwww port?  If so, any idea how to
> fix it/work around or should I use the LWP::UserAgent module?

In case you think cookies are giving you trouble ... How do you deal
w/ cookies in your code? Have you tried getting the Yahoo page that
you are interested in w/o cookies in any other user agent (aka web
browser)?

Can you supply the minimum runnable code which generates the problem
for you?



  - Parv

-- 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050904213928.GA17782>