blob: 23a4f0dbc6ff1ca68bc757b95e80b7934b9c6632 (
plain)
1
2
3
4
5
|
def main(request, response):
if b'content_type' in request.GET:
response.headers.set(b'content-type', request.GET.first(b'content_type'))
if b'allow_origin' in request.GET:
response.headers.set(b'access-control-allow-origin', request.GET.first(b'allow_origin'))
|