mitsuhiko/flask — pull request #1141 by iurisilvio (2014-08-06 12:15:38+00:00)
Title: Use PREFERRED_URL_SCHEME in external url_for if scheme is not defined.

If the behaviour expected is to use `PREFERRED_URL_SCHEME` even in request context, it fixes #1129.