blob: 12964ea32e8c44c10db7fc107cc373f416a9f9b1 [file] [log] [blame]
import sys
import urlparse
def main(request, response):
params = urlparse.parse_qs(request.url_parts.query)
headers = [
("Content-Type", "application/json"),
("Cache-Control", "no-store"),
("Access-Control-Allow-Origin", "*"),
("Set-Cookie", "{name[0]}=1; Path={path[0]}; Expires=Wed, 09 Jun 2021 10:18:14 GMT".format(**params))
]
body = "{}"
return headers, body