Lines Matching full:foo*
40 $ENV{SCRIPT_NAME} ='/cgi-bin/foo.cgi';
53 test(9,param(-name=>'foo',-value=>'bar'),'CGI::param() put');
54 test(10,param(-name=>'foo') eq 'bar','CGI::param() get');
55 test(11,query_string() eq 'game=chess;game=checkers;weather=dull;foo=bar',"CGI::query_string() redux");
57 test(13,script_name() eq '/cgi-bin/foo.cgi',"CGI::script_name()");
58 test(14,url() eq 'http://the.good.ship.lollypop.com:8080/cgi-bin/foo.cgi',"CGI::url()");
60 'http://the.good.ship.lollypop.com:8080/cgi-bin/foo.cgi/somewhere/else?game=chess;game=checkers;weather=dull;foo=bar',
62 test(16,url(-absolute=>1) eq '/cgi-bin/foo.cgi','CGI::url(-absolute=>1)');
63 test(17,url(-relative=>1) eq 'foo.cgi','CGI::url(-relative=>1)');
64 test(18,url(-relative=>1,-path=>1) eq 'foo.cgi/somewhere/else','CGI::url(-relative=>1,-path=>1)');
66 'foo.cgi/somewhere/else?game=chess;game=checkers;weather=dull;foo=bar',
68 Delete('foo');
69 test(20,!param('foo'),'CGI::delete()');
97 test(27,redirect(-Location=>'http://somewhere.else/bin/foo&bar',-Type=>'text/html') eq "Status: 302 Found${CRLF}Location: http://somewhere.else/bin/foo&bar${CRLF}Content-Type: text/html; charset=ISO-8859-1${CRLF}${CRLF}","CGI::redirect() 2");
104 test(31, header(-foo=>'bar') eq "Foo: bar${CRLF}Content-Type: text/html${CRLF}${CRLF}", "Custom header");