This will set error for an exception if the call isn't in the 200s.
        It will also extract the raw data from the response
        :stream_to_file: str of the file name to stream the data to
        :return: None

def post_process(self, stream_to_file=False):
        """
        This will set error for an exception if the call isn't in the 200s.
        It will also extract the raw data from the response
        :stream_to_file: str of the file name to stream the data to
        :return: None
        """
        self.status_code = self.response.status_code
        if 200 <= self.status_code < 300:
            if stream_to_file:
                self.stream_to_file(stream_to_file)
            else:
                self.extract_data()
        else:
            self._timestamps.setdefault('exception', time.time())
            if self.status_code in HTTP_STATUS_CODES:
                self.error = HTTP_STATUS_CODES[self.status_code].str_to_obj(
                    self.response.content)
            else:
                self.error = Exception('Status code = %s' % self.status_code)
            raise self.error