blob: 1ee4af169e75bd185d91df78ccb51571bc124747 [file] [log] [blame]
# iframe does not fire onload event if the response's content-type is not
# text/plain or text/html so this script exists if you want to test a 404 load
# in an iframe.
def main(req, res):
return 404, [(b'Content-Type', b'text/plain')], b"Page not found"