From owner-freebsd-ports@FreeBSD.ORG Sun Sep 4 21:39:28 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9F8516A41F for ; Sun, 4 Sep 2005 21:39:28 +0000 (GMT) (envelope-from parv@pair.com) Received: from mta13.adelphia.net (mta13.adelphia.net [68.168.78.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41CF743D46 for ; Sun, 4 Sep 2005 21:39:27 +0000 (GMT) (envelope-from parv@pair.com) Received: from default.chvlva.adelphia.net ([69.160.76.67]) by mta13.adelphia.net (InterMail vM.6.01.04.01 201-2131-118-101-20041129) with ESMTP id <20050904213927.NGIW12299.mta13.adelphia.net@default.chvlva.adelphia.net>; Sun, 4 Sep 2005 17:39:27 -0400 Received: by default.chvlva.adelphia.net (Postfix, from userid 1000) id 3937FB541; Sun, 4 Sep 2005 17:39:28 -0400 (EDT) Date: Sun, 4 Sep 2005 17:39:28 -0400 From: Parv To: Charles Maner Message-ID: <20050904213928.GA17782@holestein.holy.cow> Mail-Followup-To: Charles Maner , freebsd-ports@freebsd.org References: <20050904172305.32264.qmail@web54515.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050904172305.32264.qmail@web54515.mail.yahoo.com> Cc: freebsd-ports@freebsd.org Subject: Re: Perl libwww--LWP::Simple X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Sep 2005 21:39:29 -0000 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 --