'Passing C{True} for C{afterFoundGet} to L{client.downloadPage} invokes
the same kind of redirect handling as passing that argument to
L{client.getPage} invokes.'

def test_downloadAfterFoundGet(self):

    url = self.getURL('extendedRedirect?code=302')
    def gotPage(page):
        self.assertEqual(self.extendedRedirect.lastMethod, 'GET', 'With    afterFoundGet,    the    HTTP    method    must    change    to    GET')
    d = client.downloadPage(url, 'downloadTemp', followRedirect=True, afterFoundGet=True, method='POST')
    d.addCallback(gotPage)
    return d
