} elsif ($r->method eq 'GET' && $r->url->path eq "/get_gif") {
my $http_query = $r->url->equery;
my $cgi = new CGI("$http_query");
my $pid = $cgi->param('pid');
} elsif ($r->method eq 'GET' && $r->url->path eq "/get_gif") {
my $http_query = $r->url->equery;
my $cgi = new CGI("$http_query");
my $pid = $cgi->param('pid');