process body for all pages apart from redirects so body of 404 and other errors may be parsed #57

wants to merge 1 commit into


None yet
2 participants

psd commented Jul 18, 2011

Currently only the body for a 200 request is processed and returned as a context meaning it is not possible to process the contents of a 404 error page, or login/registration forms returned with a status of 400 or 422, rather than 200 OK status.

This was raised as issue#56

This patch handles "redirect" status responses before receiving and parsing the data for all other response codes.

It passes all of the current tests as well as the new 404 test page.


tj commented Jul 19, 2011

my bad, didn't see this pull-request, patched it

tj closed this Jul 19, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment