

def get_cookie(self, name, default=None):
    'Gets the value of the cookie with the given name, else default.'
    if ((self.request.cookies is not None) and (name in self.request.cookies)):
        return self.request.cookies[name].value
    return default

dataset/ETHPy150Open RobotWebTools/rosbridge_suite/rosbridge_server/src/tornado/web.py RequestHandler.get_cookie/original