summaryrefslogtreecommitdiff
path: root/tests/docroot/www/get-header.pl
blob: 905f3e79b68e9a4ae265dcb6e4f13b94f831ebb8 (plain)
1
2
3
4
5
6
7
8
#!/usr/bin/perl

my $s = $ENV{$ENV{"QUERY_STRING"}};

printf("Content-Length: %d\r\n", length($s));
print "Content-Type: text/plain\r\n\r\n";

print $s;