My system is running the play framework through lighttpd. I need to know if the requests that are coming from Facebook are from https or http.
Two questions:
Is there any way that I can tell in my framework if the original request was from http or https? (I checked request.secure, but it is always false)
If the framework doesn't give me any method to detect that, is there anyway that I can use mod_rewrite to add a ssl=true to the query parameters?