On 14.06.2012 15:12, Carlo Pires wrote: > > I am looking to use mongrel2 with SSL. I would like to add a field to > > the headers sent to the handlers notifying them whether or not the > > connection is using SSL. My reason for doing this is for redirects the > > handler needs to know whether to use http or https when building the url. > > You can prefix redirected urls with "//" and let the browser to solve > this for you.
IIRC this could be a problem in some IE versions (surprise, surprise). More on topic: I could be wrong, but do i.e. Apache and nginx really have different headers for this SSL: yes/no? We should check a few common webservers. Greetings, Florian
