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)
}
$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)
}