Determine if request is secure

Hi. Using handleUrl in a standalone web app, is it possible to determine if the request received is http or https, or what port it’s using (ie 8080 or 8443)? My app listens on both 8080 (http) and 8443 (https) and I’d like to block certain requests if they are not received on a secure connection.

Thanks.

Check the Beta channel. :wink:

Excellent Fred, Thanks.