in reply to Re^2: PSGI, Plack et.al.
in thread PSGI, Plack et.al.
Hi,
but you should not forget that there are circumstances where you want to know whether requests came via https or http. Just two examples:
- You want to generate absolute URL in the response to reflect the currently used protocol.
- You want to set the secure attribute on cookies when you know that the response is sent via https.
Best regards
McA
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: PSGI, Plack et.al.
by Corion (Patriarch) on Oct 24, 2012 at 20:36 UTC | |
Re^4: PSGI, Plack et.al.
by afoken (Chancellor) on Oct 25, 2012 at 05:28 UTC | |
Re^4: PSGI, Plack et.al.
by Anonymous Monk on Oct 25, 2012 at 02:16 UTC |
In Section
Seekers of Perl Wisdom