This will will extract the raw data from the response
        :return: None

def extract_data(self):
        """
        This will will extract the raw data from the response
        :return: None
        """
        content_type = 'Exception in extracting content-type from header'
        try:
            content_type = self.response.headers.get('content-type', '')
            if 'application/json' in content_type:
                self.raw_data = self.data = self.response.json()
            elif self.prepared_request.headers.get(
                    'Accept', '') == 'application/json':
                try:
                    self.raw_data = self.data = self.response.json()
                except Exception as e:
                    self.raw_data = self.data = self.response.content
            else:
                self.raw_data = self.data = self.response.content

            if isinstance(self.data,
                          dict) and 'server_timing' in self.data.keys():
                self._server_timing = self.data.pop(
                    'server_timing', )  # this is internal timing debug info
                self.raw_data = self.data = self.data['original_response']

        except Exception as e:
            self._timestamps.setdefault('exception', time.time())
            self.error = ApiError(
                "Invalid Response Data with content type: " + content_type,
                status_code=self.status_code,
                status_description=str(e),
                http_body=self.response.content,
                url=self.response.url)
            raise Exception(self.error)