diff --git a/libraries/mako/mako/request.php b/libraries/mako/mako/request.php
index <HASH>..<HASH> 100644
--- a/libraries/mako/mako/request.php
+++ b/libraries/mako/mako/request.php
@@ -66,6 +66,12 @@ namespace mako
 		protected static $method = 'GET';
 
 		/**
+		* Was the request made using HTTPS?
+		*/
+
+		protected static $secure = false;
+
+		/**
 		* Array holding all the URL segments.
 		*/
 
@@ -156,6 +162,10 @@ namespace mako
 					// Which request method was used?
 
 					static::$method = isset($_SERVER['REQUEST_METHOD']) ? $_SERVER['REQUEST_METHOD'] : 'UNKNOWN';
+
+					// Was the request made using HTTPS?
+
+					static::$secure = (!empty($_SERVER['HTTPS']) && filter_var($_SERVER['HTTPS'], FILTER_VALIDATE_BOOLEAN)) ? true : false;
 				}
 			}
 			else
@@ -536,6 +546,18 @@ namespace mako
 		}
 
 		/**
+		* Was the reqeust made using HTTPS?
+		*
+		* @access  public
+		* @return  boolean
+		*/
+
+		public static function isSecure()
+		{
+			return static::$secure;
+		}
+
+		/**
 		* Returns the buffered output of the requested controller.
 		*
 		* @access  public
Added Request::isSecure method