mitsuhiko/flask — pull request #346 by sojin (2011-11-07 14:04:59+00:00)
Title: Added option to generate secure URL with url_for()

Use case:
Most of the time we could use a reverse proxy to handle, enforce and redirect ssl pages. But there are scenarios where one might be interested in securing only POST request in a form, not entire page. In order to do that, url_for() should be capable to generate 'https' URL's.
This change is requesting in conjunction with a change (to accept the force_secure field to build()) in Werkzeug.