Bug - error handling 403 response. In my case - save file from wrong domain
DEBUG output created by Wget 1.9.1 on freebsd4.7. ... ---request begin--- GET http://print-city.org/robots.txt HTTP/1.0 User-Agent: All.by Host: print-city.org Accept: */* Referer: http://print-city.org Pragma: no-cache Accept-Language: ru Accept-Charset: cp1251, windows-1251, win, x-cp1251, cp-1251 ---request end--- HTTP/1.0 302 Moved Temporarily Date: Thu, 11 Mar 2004 15:59:24 GMT Server: Apache/1.3.28 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.2 FrontPage/5.0.2.2634 mod_ssl/2.8.15 OpenSSL/0.9.6b Location: http://goldhost.ru/ Content-Type: text/html; charset=iso-8859-1 X-Cache: MISS from proxy.open.by Proxy-Connection: close Closing fd 3 Found proxy.open.by in host_name_addresses_map (0x8083c50) Created socket 3. Releasing 0x8083c50 (new refcount 1). ---request begin--- HEAD http://goldhost.ru/ HTTP/1.0 User-Agent: All.by Host: goldhost.ru Accept: */* Referer: http://print-city.org Pragma: no-cache Accept-Language: ru Accept-Charset: cp1251, windows-1251, win, x-cp1251, cp-1251 ---request end--- HTTP/1.0 200 OK Date: Thu, 11 Mar 2004 15:59:24 GMT Server: Apache/1.3.28 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.2 FrontPage/5.0.2.2634 mod_ssl/2.8.15 OpenSSL/0.9.6b Content-Type: text/html X-Cache: MISS from proxy.open.by Proxy-Connection: close Closing fd 3 Last-modified header missing -- time-stamps turned off. Found proxy.open.by in host_name_addresses_map (0x8083c50) Created socket 3. Releasing 0x8083c50 (new refcount 1). ---request begin--- GET http://goldhost.ru/ HTTP/1.0 User-Agent: All.by Host: goldhost.ru Accept: */* Referer: http://print-city.org Pragma: no-cache Accept-Language: ru Accept-Charset: cp1251, windows-1251, win, x-cp1251, cp-1251 ---request end--- HTTP/1.0 200 OK Date: Thu, 11 Mar 2004 15:59:24 GMT Server: Apache/1.3.28 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.2 FrontPage/5.0.2.2634 mod_ssl/2.8.15 OpenSSL/0.9.6b Content-Type: text/html X-Cache: MISS from proxy.open.by Proxy-Connection: close Closing fd 3 17:59:16 URL:http://goldhost.ru/ [14386] -> "/www.print-city.org/index.html" [1]