blob: 396bd4c4b2dfbb6091779b6f4375245c1a4604d8 [file] [log] [blame]
def main(request, response):
"""Simple handler that causes redirection.
This is placed here to stay within the same directory during redirects,
to avoid issues like https://crbug.com/1136775.
"""
response.status = 302
location = request.GET.first(b"location")
response.headers.set(b"Location", location)