def pageStart(self, partialContent):
        """Called on page download start.

        @param partialContent: tells us if the download is partial download we requested.
        """
        if partialContent and not self.requestedPartial:
            raise ValueError, "we shouldn't get partial content response if we didn't want it!"
        if self.waiting:
            try:
                if not self.file:
                    self.file = self.openFile(partialContent)
            except __HOLE__:
                #raise
                self.deferred.errback(failure.Failure())
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/web/client.py/HTTPDownloader.pageStart