Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
If you look at the source code, you will see that the Request::getScheme()
one that uses Request::getSchemeAndHttpHost()
will return https depending on whether the request is recognized as secure or not by the method Request::isSecure()
.
The method itself isSecure()
, as can be seen from the code, returns true
in two cases:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question