DEBUG output created by Wget 1.12-devel (5220752ead16) on linux-gnu. --2008-11-17 15:44:22-- http://user:*password*@localhost/cdtest-auth.php Resolving localhost... 127.0.0.1 Caching localhost => 127.0.0.1 Connecting to localhost|127.0.0.1|:80... connected. Created socket 4. Releasing 0x080a8390 (new refcount 1). ---request begin--- HEAD /cdtest-auth.php HTTP/1.0 User-Agent: Wget/1.12-devel (5220752ead16) Accept: */* Host: localhost Connection: Keep-Alive ---request end--- HTTP request sent, awaiting response... ---response begin--- HTTP/1.0 401 Unauthorized Date: Mon, 17 Nov 2008 20:44:22 GMT Server: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.3 with Suhosin-Patch X-Powered-By: PHP/5.2.4-2ubuntu5.3 WWW-Authenticate: Basic realm="My Realm" Connection: close Content-Type: text/html X-Pad: avoid browser bug ---response end--- 401 Unauthorized Closed fd 4 Found localhost in host_name_addresses_map (0x80a8390) Connecting to localhost|127.0.0.1|:80... connected. Created socket 4. Releasing 0x080a8390 (new refcount 1). ---request begin--- HEAD /cdtest-auth.php HTTP/1.0 User-Agent: Wget/1.12-devel (5220752ead16) Accept: */* Host: localhost Connection: Keep-Alive Authorization: Basic dXNlcjpwYXNz ---request end--- HTTP request sent, awaiting response... ---response begin--- HTTP/1.1 200 OK Date: Mon, 17 Nov 2008 20:44:22 GMT Server: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.3 with Suhosin-Patch X-Powered-By: PHP/5.2.4-2ubuntu5.3 Content-Disposition: inline;filename="foo.bar" Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Content-Type: text/html ---response end--- 200 OK Length: unspecified [text/html] Closed fd 4 --2008-11-17 15:44:22-- http://user:*password*@localhost/cdtest-auth.php Found localhost in host_name_addresses_map (0x80a8390) Connecting to localhost|127.0.0.1|:80... connected. Created socket 4. Releasing 0x080a8390 (new refcount 1). ---request begin--- GET /cdtest-auth.php HTTP/1.0 User-Agent: Wget/1.12-devel (5220752ead16) Accept: */* Host: localhost Connection: Keep-Alive ---request end--- HTTP request sent, awaiting response... ---response begin--- HTTP/1.0 401 Unauthorized Date: Mon, 17 Nov 2008 20:44:22 GMT Server: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.3 with Suhosin-Patch X-Powered-By: PHP/5.2.4-2ubuntu5.3 WWW-Authenticate: Basic realm="My Realm" Content-Length: 39 Connection: close Content-Type: text/html ---response end--- 401 Unauthorized Closed fd 4 Found localhost in host_name_addresses_map (0x80a8390) Connecting to localhost|127.0.0.1|:80... connected. Created socket 4. Releasing 0x080a8390 (new refcount 1). ---request begin--- GET /cdtest-auth.php HTTP/1.0 User-Agent: Wget/1.12-devel (5220752ead16) Accept: */* Host: localhost Connection: Keep-Alive Authorization: Basic dXNlcjpwYXNz ---request end--- HTTP request sent, awaiting response... ---response begin--- HTTP/1.1 200 OK Date: Mon, 17 Nov 2008 20:44:22 GMT Server: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.3 with Suhosin-Patch X-Powered-By: PHP/5.2.4-2ubuntu5.3 Content-Disposition: inline;filename="foo.bar" Content-Length: 69 Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Content-Type: text/html ---response end--- 200 OK Registered socket 4 for persistent reuse. Length: 69 [text/html] Saving to: `cdtest-auth.php.3' 0K 100% 4.17M=0s 2008-11-17 15:44:22 (4.17 MB/s) - `cdtest-auth.php.3' saved [69/69]