I sent this message to [EMAIL PROTECTED] as directed in the wget man page, but it
bounced and said to try this email address.
This bug report is for GNU Wget 1.8.2 tested on both RedHat Linux 7.3 and 9
rpm -q wget
wget-1.8.2-9
When I use a wget with the -S to show the http headers, and I use the spider switch as
well, it gives me a 501 error on some servers.
The main example I have found was doing it against a server running ntop.
http://www.ntop.org/
You can find an RPM for it at:
http://rpm.pbone.net/index.php3/stat/4/idpl/586625/com/ntop-2.2-0.dag.rh90.i386.rpm.html
You cean search with other parameters at rpm.pbone.net to get ntop for other version
of linux
So here is the command and output:
wget -S --spider http://SERVER_WITH_NTOP:3000
HTTP request sent, awaiting response...
1 HTTP/1.0 501 Not Implemented
2 Date: Sat, 27 Mar 2004 07:08:24 GMT
3 Cache-Control: no-cache
4 Expires: 0
5 Connection: close
6 Server: ntop/2.2 (Dag Apt RPM Repository) (i686-pc-linux-gnu)
7 Content-Type: text/html
21:11:56 ERROR 501: Not Implemented.
I get a 501 error. echoing the $? shows an exit status of 1
When I don't use the spider, I get the following:
wget -S http://SERVER_WITH_NTOP:3000
HTTP request sent, awaiting response...
1 HTTP/1.0 200 OK
2 Date: Sat, 27 Mar 2004 07:09:31 GMT
3 Cache-Control: max-age=3600, must-revalidate, public
4 Connection: close
5 Server: ntop/2.2 (Dag Apt RPM Repository) (i686-pc-linux-gnu)
6 Content-Type: text/html
7 Last-Modified: Mon, 17 Mar 2003 20:27:49 GMT
8 Accept-Ranges: bytes
9 Content-Length: 1214
100%[==]
1,214 1.16M/sETA 00:00
21:13:04 (1.16 MB/s) - `index.html' saved [1214/1214]
The exit status was 0 and the index.html file was downloaded.
If this is a bug please fix it in your next release of wget. If it is not a bug, I
would appriciate a brief explination as to why.
Thank You
Corey Henderson
Chief Programmer
GlobalHost.com