From: castorosaggio <andrea.ribuoli@ngi.it>
To: Rack Development <rack-devel@googlegroups.com>
Subject: HTTPS environment variable in uppercase
Date: Thu, 13 Jan 2011 03:52:15 -0800 (PST) [thread overview]
Message-ID: <52ea93d7-009f-4c6f-a1be-7c0729683e6b@f2g2000vby.googlegroups.com> (raw)
Is it possible to introduce the following change?
From:
"rack.url_scheme" => ["yes", "on", "1"].include?(env["HTTPS"]) ?
"https" : "http"
To:
"rack.url_scheme" => ["yes", "on", "1"].include?
(env["HTTPS"].downcase) ? "https" : "http"
In my platform the values of HTTPS are "ON"/"OFF" rather than
"on"/"off".
Thanks,
Andrea
next reply other threads:[~2011-01-20 8:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-13 11:52 castorosaggio [this message]
2011-01-20 15:03 ` HTTPS environment variable in uppercase Lee Hambley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://groups.google.com/group/rack-devel
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52ea93d7-009f-4c6f-a1be-7c0729683e6b@f2g2000vby.googlegroups.com \
--to=rack-devel@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).