def main(request, response): name = request.GET.first(b"name") value = request.GET.first(b"value") testcase = request.GET.first(b"testcase") response_headers = [(b"Set-Cookie", name + b"=" + value)] body = b""" Set Storage Access Subframe """ % (name, value, testcase) return (200, response_headers, body)