import jingrow from jingrow.rate_limiter import rate_limit from werkzeug.wrappers import Response @jingrow.whitelist(allow_guest=True) @rate_limit(limit=1200, seconds=60) def confirmed_incident(server_title: str): response = Response() response.mimetype = "application/xml" response.data = f""" Hi! Your dedicated server - {server_title} is facing some incidents and the hosted sites might be down. Our Engineers are working on it. Please check your email for incident updates. For any urgent assistance, please contact our support team. """ return response