X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fgraphs%2Ftools%2Fdraw_graph.cgi;h=7a11ab50056d0664477fe6d8ccf00fe5cf5e160e;hb=5efc24038e24e64e39ec33d4c8f09e1fc6948366;hp=9f24c7a071e7b95c416dd5bba5d7d8b3891b5fe0;hpb=de7919bc2f1c068734c6760af0cb44c6d7022804;p=helm.git diff --git a/helm/graphs/tools/draw_graph.cgi b/helm/graphs/tools/draw_graph.cgi index 9f24c7a07..7a11ab500 100755 --- a/helm/graphs/tools/draw_graph.cgi +++ b/helm/graphs/tools/draw_graph.cgi @@ -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) }