mitsuhiko/flask — pull request #667 by maxcountryman (2013-01-17 23:13:13+00:00)
Title: adding `secure_url_for` helper function

In order to better facilitate generation of URLs that make use of an HTTPS URL
scheme this patch adds a helper function with this specific purpose in mind. To
achieve this we explicitly pass in a flag, `_secure=True`, and then set the
`url_scheme` attribute of our `MapAdapter` instance appropriately.