summaryrefslogtreecommitdiff
path: root/lib/TUWF/Request.pod
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2017-12-26 20:42:15 +0100
committerYorhel <git@yorhel.nl>2017-12-26 20:42:15 +0100
commit60273e1e79ed06840530450b2888cfa5c8933cce (patch)
tree7566d391aef2a004a97310b2bd45bc468fdc497b /lib/TUWF/Request.pod
parentd0adbdc1808f91b213bc70c6d40f1a043a09544d (diff)
doc: Note a limitation of reqProtocol()
Diffstat (limited to 'lib/TUWF/Request.pod')
-rw-r--r--lib/TUWF/Request.pod5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/TUWF/Request.pod b/lib/TUWF/Request.pod
index be6774f..d35edc2 100644
--- a/lib/TUWF/Request.pod
+++ b/lib/TUWF/Request.pod
@@ -173,6 +173,11 @@ Includes a leading slash.
Returns the protocol used to perform the request, i.e. C<http> or C<https>.
+Note that the detected protocol may be wrong if your website is running behind
+a reverse proxy that is either terminating or stripping HTTPS. As a workaround,
+you can manually set the correct C<HTTPS> environment variable to C<0> or C<1>
+in your initialization code or, even better, in your web server configuration.
+
=head2 reqBaseURI()
Returns the I<base URI> of the current page. That is, C<http(s)://> plus