def _handle_ping_status(): cookie_name, user_token = increase_cookie_timestamp() bottle_resp.set_cookie(cookie_name, user_token.decode('utf-8'))