Hello, I'm running an https only app and noticed that all the generated links are http, resulting in 404 errors. I found that I was able to change the scheme on the __init__ method of the handler, like this:
class MainHandler(object): def __init__(self, request): request.scheme = 'https' self.request = request It works (all the links generated with route_url() or url() now start with https), but I feel like I'm missing a config setting or a better solution. What is the recommended way to do this? Thanks! Eric -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com. To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.