%HTTP%
but operates on the HTTPS environment variables present when the SSL protocol is in effect. Can be used to determine whether SSL is turned on. Parameter | Description | Default |
---|---|---|
"name" |
Name of the header to get | optional |
Write | Returns | Notes |
---|---|---|
%HTTPS% |
0 | Returns '1' if HTTPS is active |
%HTTPS{"Accept-language"}% |
en-US,en;q=0.9 | |
%HTTPS{"User-Agent"}% |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36 | |
%HTTPS{"Cookie"}% |
Not allowed by default. |