import os
from wptserve.utils import isomorphic_decode
def main(request, response):
response.headers.set(b"supports-loading-mode", b"fenced-frame")
script = u"""
""" % (isomorphic_decode(request.headers.get(b"referer", b"")))
return (200, [], script)