in reply to Using HTTP::Daemon with CGI
my $req = $c->get_request; my $uri = $req->uri; $ENV{REQUEST_METHOD} = $req->method; $ENV{CONTENT_TYPE} = join('; ', $req->content_type); $ENV{CONTENT_LENGTH} = $req->content_length || ''; $ENV{SCRIPT_NAME} = $uri->path || 1; $ENV{QUERY_STRING} = $uri->query || '';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Using HTTP::Daemon with CGI
by cormanaz (Deacon) on Apr 13, 2007 at 21:10 UTC |