'L{client.getPage} returns a L{Deferred} which is called back with
the empty string if the method is I{HEAD} and there is a successful
response code.'

def test_getPageHEAD(self):

    d = client.getPage(self.getURL('file'), method='HEAD')
    d.addCallback(self.assertEqual, '')
    return d
