def _finishResponse(self, rest): """ Cancel the timeout when finished receiving the response. """ self._cancelTimeout() HTTP11ClientProtocol._finishResponse(self, rest)