 		<cfset requestIsGet = isGet()>
 	'
 	categories="controller-request,miscellaneous" chapters="" functions="isAjax,isPost,isSecure">
-	<cfscript>
-		if (request.cgi.request_method == "get")
-			return true;
-		else
-			return false;
-	</cfscript>
+	<cfreturn (request.cgi.request_method eq "get")>
 </cffunction>
 
 <cffunction name="isPost" returntype="boolean" access="public" output="false" hint="Returns whether the request came from a form submission or not."

		<cfset requestIsAjax = isAjax()>
	'
	categories="controller-request,miscellaneous" chapters="" functions="isGet,isPost,isSecure">
	<cfscript>
		if (request.cgi.http_x_requested_with == "XMLHTTPRequest")
			return true;
		else
			return false;
	</cfscript>
</cffunction>

<cffunction name="isGet" returntype="boolean" access="public" output="false" hint="Returns whether the request was a normal (GET) request or not."

		<cfset requestIsSecure = isSecure()>
	'
	categories="controller-request,miscellaneous" chapters="" functions="isGet,isPost,isAjax">
	<cfreturn (request.cgi.server_port_secure)>
</cffunction>

<cffunction name="isAjax" returntype="boolean" access="public" output="false" hint="Returns whether the page was called from JavaScript or not."
