Hi, my server sits on heroku which uses an SSL Endpoint. It looks like
heroku handles the SSL itself and sends the requests on to my server as
HTTP.
I need to create a 303 location that knows if the request was HTTP or
HTTPS. To do this I need to look at the x-forwarded-proto.
How can I get this from within a REST call (for example a GET)? I need to
make sure the location I give to the client for the 303 is properly
specified as HTTP or HTTPS based on this.
Thanks!