@classmethod
def get_head_img(cls, session, headimg_url):
    """Get wechat head img."""
    api_path = cls.api_url_template.format(schema=cls.schema, endpoint=
        session.wx_endpoint, url=headimg_url)
    res = session.get(api_path, timeout=cls.middle_timeout)
    return res
