def main(request, response): if b'nested' in request.GET: return ( [(b'Content-Type', b'text/html')], b'failed: nested frame was not intercepted by the service worker' ) return ([(b'Content-Type', b'text/html')], b""" """)