def POST(self): cookies = ObjectWeb.cookies() if not cookies: ObjectWeb.status("404 Not Found") return "" else: ObjectWeb.status("200 OK") return cookies.get("CookieName", "")
def GET(self): ObjectWeb.status("404 Not Found") ObjectWeb.header("Content-Type", "text/plain") return "404 Not Found"
def GET(self): ObjectWeb.status("200 OK") return "PASS"
def GET(self): ObjectWeb.status("200 OK") ObjectWeb.setcookie("CookieName", "CookieValue") return ""
def POST(self): ObjectWeb.status("200 OK") return "REDIRECT PASS"