jeanphix/Ghost.py — pull request #82 by arikfr (2013-03-27 11:54:57+00:00)
Title: Fix: Support for URLs with hashes that are sent to server.

When the server redirects the browser using a location header that contains a hash, this hash will be preserved in the resource URL.

Because in pull request #80 we started stripping the part after the hash, we can no longer find the page resource in such cases.

I've applied a solution but it still feels shaky. How about we stop retrieving the page data from the resources, but take it from the main_frame object (by calling `getHtml()`)?

The downside is that we no longer will have HTTP status code or headers, but I think that those who need them can work directly with the resources while everyone else can use the page object for the page HTML.