summaryrefslogtreecommitdiff
path: root/im/imdither/imdither_tests.py
diff options
context:
space:
mode:
authoryo mama <pepper@scannerjammer.com>2015-02-13 02:42:02 -0800
committeryo mama <pepper@scannerjammer.com>2015-02-13 02:42:02 -0800
commitfd640b170a64584fd9c295be53c91972ff9f9ec1 (patch)
treec67e95b332e183bbf14065bba55dd77e86a71fbe /im/imdither/imdither_tests.py
parent64f41d53728a966f10aef6d7ffbc00853d754300 (diff)
fixed some basics
Diffstat (limited to 'im/imdither/imdither_tests.py')
-rwxr-xr-xim/imdither/imdither_tests.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/im/imdither/imdither_tests.py b/im/imdither/imdither_tests.py
new file mode 100755
index 0000000..ee18b8d
--- /dev/null
+++ b/im/imdither/imdither_tests.py
@@ -0,0 +1,17 @@
+#!/usr/bin/perl
+use LWP::UserAgent;
+use CGI;
+use Data::Dumper;
+
+my $URL = "http://localhost/cgi-bin/imdither.py";
+
+
+
+
+my $ua = LWP::UserAgent->new();
+my $response = $ua->post( $URL, { } );
+my $content = $response->decoded_content();
+
+my $cgi = CGI->new();
+print $cgi->header(), $content;
+