I came across this bug in wget where it gives an error instead of
following, as it should.

Volker


> wget --version
GNU Wget 1.5.3

Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

Written by Hrvoje Niksic <[EMAIL PROTECTED]>.

> cat ./Wns 
#!/bin/sh
#
exec wget -Y0 --proxy-pass=none --cache=off \
    -U 'Mozilla/4.7 [en] (WinNT; I)' \
    "$@"


> ./Wns http://www.themestream.com/articles/298752.html -S
--08:52:39--  http://www.themestream.com:80/articles/298752.html
           => `www.themestream.com/articles/298752.html'
Connecting to www.themestream.com:80... connected!
HTTP request sent, awaiting response... 302 Found
2 Connection: close
3 Date: Sun, 21 Jan 2001 19:52:05 GMT
4 Server: Apache/1.3.12 (Unix)  (Red Hat/Linux)
5 Cache-Control: no-cache
6 Content-Type: text/html; charset=ISO-8859-1
7 Expires: 0
8 Location: /gspd_browse/browse/view_article.gsp?c_id=298752&id_list=&cookied=T
9 Pragma: no-cache
10 Set-Cookie: g-id=pfkocnholppacgapgkll.10024743; expires=Fri, 01-Jan-2010 20:00:
00 GMT; path=/
11 Set-Cookie: g-id=fnfafclcgnjdmpaccfda.10024748; expires=Fri, 01-Jan-2010 20:00:
00 GMT; path=/
12 Content-Length: 0
13 
Location: /gspd_browse/browse/view_article.gsp?c_id=298752&id_list=&cookied=T [fol
lowing]
/gspd_browse/browse/view_article.gsp?c_id=298752&id_list=&cookied=T: Unknown/unsup
ported protocol.
Exit 1

> ./Wns http://www.themestream.com/'gspd_browse/browse/view_article.gsp?c_id=29875
2&id_list=&cookied=T' -S
--08:53:51--  http://www.themestream.com:80/gspd_browse/browse/view_article.gsp?c_
id=298752&id_list=&cookied=T
           => `www.themestream.com/gspd_browse/browse/view_article.gsp?c_id=298752
&id_list=&cookied=T'
Connecting to www.themestream.com:80... connected!
HTTP request sent, awaiting response... 200 OK
2 Connection: close
3 Date: Sun, 21 Jan 2001 19:54:03 GMT
4 Server: Apache/1.3.12 (Unix)  (Red Hat/Linux) PHP/3.0.15 mod_perl/1.21
5 Cache-Control: no-cache
6 Content-Type: text/html; charset=ISO-8859-1
7 Expires: 0
8 Pragma: no-cache
9 Set-Cookie: g-id=lacchjobhehcipblkmbg.10024818; expires=Fri, 01-Jan-2010 20:00:0
0 GMT; path=/
10 Content-Length: 21735
11 

    0K -> .......... .......... .                                [100%]

Last-modified header missing -- time-stamps turned off.
08:53:56 (7.52 KB/s) - `www.themestream.com/gspd_browse/browse/view_article.gsp?c_
id=298752&id_list=&cookied=T' saved [21735/21735]

Reply via email to