X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/83de52f1124a71c6688a04e0c0acd841f6188d0f..e8dce44b2cd1d753714980ea0d920fd5ea337705:/SL/Request.pm diff --git a/SL/Request.pm b/SL/Request.pm index 8d62f17d0..00744ac0d 100644 --- a/SL/Request.pm +++ b/SL/Request.pm @@ -42,6 +42,10 @@ sub init_type { return 'html'; } +sub is_https { + $ENV{HTTPS} && 'on' eq lc $ENV{HTTPS}; +} + sub cache { my ($self, $topic, $default) = @_;