[tests] remove unused file depending on CGI.pm
lighttpd tests do not depend on CGI.pm. remove *unused* file tests/docroot/www/404.fcgi which used CGI::Fast, which depends on CGI.pm.personal/stbuehler/mod-csrf
parent
0f9b9242d8
commit
739ccb5de0
@ -1,27 +0,0 @@
|
||||
#!/usr/bin/env perl
|
||||
|
||||
use CGI::Fast qw(:standard);
|
||||
|
||||
while (new CGI::Fast) {
|
||||
my $request_uri = $ENV{'REQUEST_URI'};
|
||||
print (STDERR "REQUEST_URI: $request_uri\n");
|
||||
if ($request_uri =~ m/^\/dynamic\/200\// ) {
|
||||
print header ( -status => 200,
|
||||
-type => 'text/plain' );
|
||||
print ("found here\n");
|
||||
}
|
||||
elsif ($request_uri =~ m|^/dynamic/302/| ) {
|
||||
print header( -status=>302,
|
||||
-location => 'http://www.example.org/');
|
||||
}
|
||||
elsif ($request_uri =~ m/^\/dynamic\/404\// ) {
|
||||
print header ( -status => 404
|
||||
-type => 'text/plain' );
|
||||
print ("Not found here\n");
|
||||
}
|
||||
else {
|
||||
print header ( -status => 500,
|
||||
-type => 'text/plain');
|
||||
print ("huh\n");
|
||||
};
|
||||
};
|
Loading…
Reference in New Issue