Questions with HTTP Get and LWP

qliang (qliang@sims.berkeley.edu)
Mon, 17 May 1999 16:45:36 -0700


 Hi,

I have two questions here:

1. I used Jef Pozkanzer's "http_get"
   "C-language" program program to
   request HTML pages, and it works fine
   with most pages, except for a few:

   e.g., when I used it to get the page
   "http://www.microsoft.com"

   I got the following error message:

   <html><HEAD><BASE HREF=http://www.microsoft.com/><title>Directory
Listing Denied</title></h
ead>
   <body><h1>Directory Listing Denied</h1>This Virtual Directory does
not allow contents to be
 listed.</body></html>

   It doesn't know how to deal with
   some of the Yahoo pages either:

   when I used it to get the page
   "http://www.yahoo.com/r/ar"

   it returned nothing back.

   Interestingly enough, I don't have
   any problem fetching those pages
   with LWP. But I don't know why. Could
   anyone kindly spend some time explain-
   ing this to me?

2. When I used LWP to fetch html pages,
   it seems that somehow it cannot fetch
   <...Redirect...> strings properly. Can
   anyone shed some light on this problem?

   Many many thanks for your help.

   Best,

   Qun Liang