projects
/
catagits/Catalyst-Controller-WrapCGI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
->req->remote_user support, new release
[catagits/Catalyst-Controller-WrapCGI.git]
/
t
/
lib
/
TestApp
/
Controller
/
Root.pm
diff --git
a/t/lib/TestApp/Controller/Root.pm
b/t/lib/TestApp/Controller/Root.pm
index
d691011
..
b473a81
100644
(file)
--- a/
t/lib/TestApp/Controller/Root.pm
+++ b/
t/lib/TestApp/Controller/Root.pm
@@
-57,4
+57,14
@@
sub test_script_name : Chained('test_script_name_root') PathPart('test_scriptnam
});
}
+sub test_remote_user : Path('/cgi-bin/test_remote_user.cgi') Args(0) {
+ my ($self, $c) = @_;
+
+ $self->cgi_to_response($c, sub {
+ my $cgi = CGI->new;
+ print $cgi->header;
+ print $ENV{REMOTE_USER}
+ });
+}
+
1;