[MOBY-guts] biomoby commit
Eddie Kawas
kawas at dev.open-bio.org
Wed Feb 11 19:11:30 UTC 2009
kawas
Wed Feb 11 14:11:30 EST 2009
Update of /home/repository/moby/moby-live/Perl/MOSES-MOBY/lib/MOSES/MOBY/Generators/templates
In directory dev.open-bio.org:/tmp/cvs-serv22692/Perl/MOSES-MOBY/lib/MOSES/MOBY/Generators/templates
Modified Files:
service-cgi.tt
Log Message:
modifed the cgi service template to accept either raw data or a parameter called data
moby-live/Perl/MOSES-MOBY/lib/MOSES/MOBY/Generators/templates service-cgi.tt,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOSES-MOBY/lib/MOSES/MOBY/Generators/templates/service-cgi.tt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Perl/MOSES-MOBY/lib/MOSES/MOBY/Generators/templates/service-cgi.tt 2008/04/29 19:58:37 1.1
+++ /home/repository/moby/moby-live/Perl/MOSES-MOBY/lib/MOSES/MOBY/Generators/templates/service-cgi.tt 2009/02/11 19:11:30 1.2
@@ -43,7 +43,7 @@
my $q = new CGI;
# get the data from the 'data' parameter
-my $data = $q->param('data') | "";
+my $data = $q->param('data') | $q->param('POSTDATA') | "";
# call the service
my $x = __PACKAGE__->[% obj.name %]($data);
More information about the MOBY-guts
mailing list