Response from dict

        :param d: Dict to load
        :type d: dict
        :return: response
        :rtype: Response

def from_dict(d):
        """
        Response from dict

        :param d: Dict to load
        :type d: dict
        :return: response
        :rtype: Response
        """
        if d is None:
            return None
        return Response(
            d.get('html'),
            CacheInfo.from_dict(d.get('cache_info')),
            d.get('scraped'),
            d.get('raw')
        )