n1k0/casperjs — pull request #460 by zeroem (2013-04-24 22:28:02+00:00)
Title: Make Casper.currentResponse consistent with Casper.page 

Previously, when clicking on a link in a page or submitting a form,
Casper.page would be updated to reflect the newly loaded page, but
Casper.currentResponse would not. This caused the response passed to
'then' callbacks to only reflect the initial page load. This patch
resolves that issue so that Casper's page and currentResponse are
consistent and subsequent 'then' callbacks receive the response of the
most recent main page load.