blob: 73ccbc3d3988b095b83d5a73c6586994dc4b723b [file] [log] [blame]
script = b'info = \'Set by the %s script\';'
def main(request, response):
type = request.GET[b'type']
if request.GET[b'type'] == b'fallingback':
return 404, [(b'Content-Type', b'text/plain')], u"Page not found"
return [(b'Content-Type', b'text/javascript')], script % type