From 4100860d10e2fb015db01d22bbf3f4735bcf10ec Mon Sep 17 00:00:00 2001 From: yo mama Date: Fri, 13 Feb 2015 01:33:31 -0800 Subject: first --- impattern/im/imdither/imdither_tests.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 impattern/im/imdither/imdither_tests.py (limited to 'impattern/im/imdither/imdither_tests.py') diff --git a/impattern/im/imdither/imdither_tests.py b/impattern/im/imdither/imdither_tests.py new file mode 100755 index 0000000..ee18b8d --- /dev/null +++ b/impattern/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; + -- cgit v1.2.3-70-g09d2