Doug MacEachern wrote: > > if >= 5.60 output of t/TEST -d lwp t/http11/basicauth.t > would be useful.
No real joy: http11/basicauth....1..3 GET http://localhost:8529/authany/index.html: User-Agent: libwww-perl/5.62 HTTP/1.1 401 (Unauthorized) Authorization Required Connection: Keep-Alive Date: Thu, 06 Dec 2001 21:32:59 GMT Server: Apache/2.0.30-dev (Unix) WWW-Authenticate: Basic realm="authany" Content-Length: 401 Content-Type: text/html; charset=iso-8859-1 Client-Date: Thu, 06 Dec 2001 21:33:02 GMT Client-Response-Num: 1 Keep-Alive: timeout=15, max=100 Title: 401 Authorization Required ok 1 GET http://localhost:8529/authany/index.html: Authorization: Basic Z3Vlc3Q6Z3Vlc3Q= User-Agent: libwww-perl/5.62 HTTP/1.1 200 OK Date: Thu, 06 Dec 2001 21:33:05 GMT Accept-Ranges: bytes ETag: "11ef7-1a-d1ed2e80" Server: Apache/2.0.30-dev (Unix) Content-Length: 26 Content-Type: text/html Last-Modified: Mon, 30 Jul 2001 19:37:14 GMT Client-Date: Thu, 06 Dec 2001 21:33:05 GMT Client-Response-Num: 3 ok 2 Use of uninitialized value in numeric eq (==) at http11/basicauth.t line 28. dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED test 3 Failed 1/3 tests, 66.67% okay Lines 26-28 is: my $request_num = $res->header('Client-Request-Num'); ok $request_num == 3; Was that supposed to be 'Client-Response-Num' instead of 'Request'? -- #ken P-)} Ken Coar, Sanagendamgagwedweinini http://Golux.Com/coar/ Author, developer, opinionist http://Apache-Server.Com/ "All right everyone! Step away from the glowing hamburger!"