Changeset 1992
- Timestamp:
- 09/06/2007 10:04:13 PM (10 months ago)
- Files:
-
- trunk/tests/mod-cgi.t (modified) (2 diffs)
- trunk/tests/request.t (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/tests/mod-cgi.t
r1950 r1992 47 47 ok($tf->handle_http($t) == 0, 'NPH + perl, invalid status-code (#14)'); 48 48 49 TODO: { 50 local $TODO = "NPH current isn't working"; 49 51 $t->{REQUEST} = ( <<EOF 50 52 GET /nph-status.pl?304 HTTP/1.0 … … 60 62 $t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 200 } ]; 61 63 ok($tf->handle_http($t) == 0, 'NPH + perl, setting status-code'); 64 } 62 65 63 66 $t->{REQUEST} = ( <<EOF trunk/tests/request.t
r1991 r1992 346 346 ok($tf->handle_http($t) == 0, 'HEAD with Content-Length'); 347 347 348 TODO: { 349 local $TODO = "to be fixed later"; 348 350 $t->{REQUEST} = ( <<EOF 349 351 GET / HTTP/1.0 … … 354 356 $t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 304} ]; 355 357 ok($tf->handle_http($t) == 0, 'Duplicate If-Mod-Since, with equal timestamps'); 358 } 356 359 357 360 $t->{REQUEST} = ( "GET / HTTP/1.0\r\nIf-Modified-Since: \0\r\n\r\n" );

