]> matita.cs.unibo.it Git - helm.git/commitdiff
Help method added
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Mon, 15 Oct 2001 06:16:18 +0000 (06:16 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Mon, 15 Oct 2001 06:16:18 +0000 (06:16 +0000)
helm/graphs/tools/draw_graph.cgi
helm/graphs/tools/uri_set_queue.cgi

index 9f24c7a071e7b95c416dd5bba5d7d8b3891b5fe0..7a11ab50056d0664477fe6d8ccf00fe5cf5e160e 100755 (executable)
@@ -41,6 +41,11 @@ while (my $c = $d->accept) {
            print "Returning GIF: $pid\n";
             $c->send_file_response("prova.$pid.gif");
            system("make PID=$pid clean ; rm -f prova0.$pid.dot");
+        } elsif ($r->method eq 'GET' && $r->url->path eq "/help"){
+           print "Help requested!\n";
+          my $response = new HTTP::Response;
+           $response->content("Graph Drawer Version: ???");
+           $c->send_response($response);
         } else {
             $c->send_error(RC_FORBIDDEN)
         }
index 6c6baf096d60605a31683dbb58f461170b926f21..d84cdfde33f5b42b75148d325d53de9d354e7a3c 100755 (executable)
@@ -126,6 +126,11 @@ while (my $c = $d->accept) {
             $response->content("<?xml version=\"1.0\"?>\n<done/>\n");
            $response->content_type('text/xml');
             $c->send_response($response);
+        } elsif ($r->method eq 'GET' && $r->url->path eq "/help"){
+           print "Help requested!\n";
+          my $response = new HTTP::Response;
+           $response->content("URI-Set (Queue) Version: ???");
+           $c->send_response($response);
         } else {
             $c->send_error(RC_FORBIDDEN)
         }