jeanphix/Ghost.py — pull request #199 by kravietz (2014-12-09 12:11:20+00:00)
Title: Follow HTTP redirects

This commit introduces a new Ghost() option `follow_redirects` (default is `True`) which will make Ghost follow HTTP redirects in destination pages. The rationale is that redirects are frequent response in real life - for example `http://google.com` will immediately redirect to `http://www.google.com/` because this is their canonical URL. Currently Ghost will just get stuck on the first redirect response with no content available.