From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.229.87.136 with SMTP id w8cs10173qcl; Thu, 20 Jan 2011 00:06:28 -0800 (PST) Return-Path: Received-SPF: pass (google.com: domain of rack-devel+bncCNf2poG3DxCB2t_pBBoE4706vA@googlegroups.com designates 10.224.11.139 as permitted sender) client-ip=10.224.11.139; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rack-devel+bncCNf2poG3DxCB2t_pBBoE4706vA@googlegroups.com designates 10.224.11.139 as permitted sender) smtp.mail=rack-devel+bncCNf2poG3DxCB2t_pBBoE4706vA@googlegroups.com; dkim=pass header.i=rack-devel+bncCNf2poG3DxCB2t_pBBoE4706vA@googlegroups.com Received: from mr.google.com ([10.224.11.139]) by 10.224.11.139 with SMTP id t11mr193247qat.2.1295510787715 (num_hops = 1); Thu, 20 Jan 2011 00:06:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:x-beenthere:mime-version:date:x-ip:user-agent :x-http-useragent:message-id:subject:from:to:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:sender:list-subscribe:list-unsubscribe:content-type; bh=JavZn0dCLUmKd+toE/8ZLUkGLHMHAypmXkLh1Y6dbO8=; b=y4KjZONdK7QqYcpuXonGbIceDTecOX/RiaNAE2WVmHM5e1/Dhqn18QsXja9qLQpaAV C06f9SvfjabVXDCEvPmSbZwtks0tMAMHV7tBLzsX1eDTGJc8hubRaRxyBe63JupCPfWR PFYWhECKE47WTIHosny8iZXDsNwHjtyIkRoVQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-beenthere:mime-version:date:x-ip:user-agent:x-http-useragent :message-id:subject:from:to:x-original-sender:reply-to:precedence :mailing-list:list-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; b=Wr8yR1OixyZmC19nVUylHMjMESlBw+tutQjFJPOsPTNa65ibiy6A9iK2sGp2mcLXPc ljhdf+89HhtCCw3rJ2spDtHBVf0i0kys9xVnIPsrm3rRd/v8xkA2fss9szeln4Iw8e7j 0JLG5SV8kTPEcAaIJoxaoPoc3ieD1rB3Phljc= Received: by 10.224.11.139 with SMTP id t11mr49799qat.2.1295510785099; Thu, 20 Jan 2011 00:06:25 -0800 (PST) X-BeenThere: rack-devel@googlegroups.com Received: by 10.224.222.20 with SMTP id ie20ls75914qab.7.p; Thu, 20 Jan 2011 00:06:24 -0800 (PST) Received: by 10.224.28.144 with SMTP id m16mr187245qac.10.1295510784715; Thu, 20 Jan 2011 00:06:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.158.195 with SMTP id g3mr142011vcx.13.1294919535049; Thu, 13 Jan 2011 03:52:15 -0800 (PST) Received: by f2g2000vby.googlegroups.com with HTTP; Thu, 13 Jan 2011 03:52:15 -0800 (PST) Date: Thu, 13 Jan 2011 03:52:15 -0800 (PST) X-IP: 78.134.22.102 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; it-it) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4,gzip(gfe) Message-ID: <52ea93d7-009f-4c6f-a1be-7c0729683e6b@f2g2000vby.googlegroups.com> Subject: HTTPS environment variable in uppercase From: castorosaggio To: Rack Development X-Original-Sender: andrea.ribuoli@ngi.it Reply-To: rack-devel@googlegroups.com Precedence: list Mailing-list: list rack-devel@googlegroups.com; contact rack-devel+owners@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: Sender: rack-devel@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: text/plain; charset=ISO-8859-1 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