summaryrefslogtreecommitdiffstats
path: root/web/server/h2o/libh2o/t/assets/doc_root/hello.cgi
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xweb/server/h2o/libh2o/t/assets/doc_root/hello.cgi13
1 files changed, 13 insertions, 0 deletions
diff --git a/web/server/h2o/libh2o/t/assets/doc_root/hello.cgi b/web/server/h2o/libh2o/t/assets/doc_root/hello.cgi
new file mode 100755
index 00000000..4401481b
--- /dev/null
+++ b/web/server/h2o/libh2o/t/assets/doc_root/hello.cgi
@@ -0,0 +1,13 @@
+#! /usr/bin/env perl
+
+use strict;
+use warnings;
+use CGI;
+
+my $q = CGI->new;
+
+print $q->header("text/plain; charset=utf-8");
+print "Hello ", $q->param("name") || "unknown";
+
+close STDOUT;
+print STDERR "hello.cgi is shutting down\n";