> 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. You can also configure two servers in mongrel2 one for SSL and another for non SSL, each one using a different handler class which could add the such extra information needed. -- Carlo Pires
