diff options
| author | yo mama <pepper@scannerjammer.com> | 2015-02-13 02:42:02 -0800 |
|---|---|---|
| committer | yo mama <pepper@scannerjammer.com> | 2015-02-13 02:42:02 -0800 |
| commit | fd640b170a64584fd9c295be53c91972ff9f9ec1 (patch) | |
| tree | c67e95b332e183bbf14065bba55dd77e86a71fbe /im/imdither/imdither_tests.py | |
| parent | 64f41d53728a966f10aef6d7ffbc00853d754300 (diff) | |
fixed some basics
Diffstat (limited to 'im/imdither/imdither_tests.py')
| -rwxr-xr-x | im/imdither/imdither_tests.py | 17 |
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; + |
