diff options
Diffstat (limited to 't/httpd-corner.psgi')
-rw-r--r-- | t/httpd-corner.psgi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/t/httpd-corner.psgi b/t/httpd-corner.psgi index c3bf5231..349b35df 100644 --- a/t/httpd-corner.psgi +++ b/t/httpd-corner.psgi @@ -44,6 +44,9 @@ my $app = sub { $fh->close; }; } + } elsif ($path eq '/host-port') { + $code = 200; + push @$body, "$env->{REMOTE_ADDR}:$env->{REMOTE_PORT}"; } [ $code, $h, $body ] |