Example CF-Visitor value: {"scheme":"https"} or {"scheme":"http"}.
Example CF-Visitor value: {"scheme":"https"} or {"scheme":"http"}.
request headers
the scheme, if any
Call me instead of request.secure
.
Call me instead of request.secure
.
request
true if the requests seems to use SSL, false otherwise
request headers
the raw protocol value, based on headers
alone
I got false negatives with the default implementation of
request.secure
in Play, so this object provides an alternative implementation inProxies.isSecure
.