summaryrefslogtreecommitdiff
path: root/data/lighttpd/lighttpd-1.4.53/tests/docroot/www/get-header.pl
diff options
context:
space:
mode:
Diffstat (limited to 'data/lighttpd/lighttpd-1.4.53/tests/docroot/www/get-header.pl')
-rwxr-xr-xdata/lighttpd/lighttpd-1.4.53/tests/docroot/www/get-header.pl8
1 files changed, 8 insertions, 0 deletions
diff --git a/data/lighttpd/lighttpd-1.4.53/tests/docroot/www/get-header.pl b/data/lighttpd/lighttpd-1.4.53/tests/docroot/www/get-header.pl
new file mode 100755
index 000000000..1e19677d9
--- /dev/null
+++ b/data/lighttpd/lighttpd-1.4.53/tests/docroot/www/get-header.pl
@@ -0,0 +1,8 @@
+#!/usr/bin/env 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;