I am editing a CGI Perl application that performs special processing on startup under HTTPS.
I'm currently trying to detect it, manually looking for "https: //" in the request URI:
my $is_secure = $cgi->request_uri =~ m{^https:
Is there a slightly cleaner way to do this?
perl cgi
Anirvan
source share