<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 async def _request(self, path):
 """Make the actual request and return the parsed response."""

        url = '{}{}'.format(self.base_url, path)
        data = None

        try:
            async with self.websession.get(url, auth=self._auth, timeout=self._timeout) as response:
                if response.status == 200:
                    if response.headers['content-type'] == 'application/json':
                        data = await response.json()
                    else:
                        data = await response.text()

        except (asyncio.TimeoutError, aiohttp.ClientError) as error:
            _LOGGER.error('Failed to communicate with IP Webcam: %s', error)
            self._available = False
            return

        self._available = True
        if isinstance(data, str):
            return data.find("Ok") != -1
        return data