def get_cookie(self, name, default=None):
        """Gets the value of the cookie with the given ``name``, else ``default``."""
        if self.cookies is not None and name in self.cookies:
            return unquote(self.cookies[name].value)
        return default
dataset/ETHPy150Open letolab/airy/airy/core/web.py/AiryRequestHandler.get_cookie/original