Re: [LWP] Problems with tests with libwww-perl-5b6
Martijn Koster (mak@webcrawler.com)
Wed, 15 Nov 1995 15:27:04 -0800
In message <9511150937.aa01891@q2.ics.uci.edu>, Milt Epstein writes:
> |package net;
> |
> |# Configure these for you local system
> |$httpserver = "napcc-hp.cvm.uiuc.edu";
> |$cgidir = "/cgi-bin/lwp";
> |
> |# Used for proxy test
> |$ftp_proxy = "http://napcc-hp.cvm.uiuc.edu/";
> |
> |1;
>
> The instructions weren't all that clear as to what values to put in
> there, but this is what I ended up with. It looks like $httpserver is
> used in a few of the other net tests, so likely that is not a problem.
> It looks like $ftp_proxy is only used in the proxy test, so it could
> be that that is not set right.
I haven't seen b6 yet, but I gess the ftp_proxy is the URL of a
proxy server. NCSA isn't one, so I guess you're not running a
proxy? That would fail the test :-)
> The mirror test requests a URL and copies it to a file on disk. It
> then repeats the request, but this time it should return a "Not
> Modified" due to the use of the "If-Modified-Since". However, in our
> case, it repeats the copy and returns "OK" (like it did on the first
> request).
Huh... wonder why. Check what's actually going over the wire, maybe
the date makes no sense... I'd try myself, but got 403 Forbidden.
> on the other
> mailing lists I'm on, they add a little tag (in square brackets) to
> the subject lines to indicate that the message is from that particular
> mailing list.
Well, of course your user agent should do that sorting for you,
and many now do. I get all my www-perl mail in a single folder,
so having identical [LWP]'s just looks silly :-)
-- Martijn
__________
Email: m.koster@webcrawler.com
WWW: http://info.webcrawler.com/mak/mak.html