summaryrefslogtreecommitdiffstats
path: root/web/server/h2o/libh2o/t/assets/doc_root/printenv.cgi
blob: efe9b74c0dde696c3346bea54e9d87ea018dc2b6 (plain)
1
2
3
4
5
6
7
8
9
#! /bin/sh
exec ${H2O_PERL:-perl} -x $0 "$@"
#! perl

print "content-type: text/plain; charset=utf-8\r\n\r\n";

for my $k (sort keys %ENV) {
  print "$k:$ENV{$k}\n";
}