blob: 04f544b9b1b7748e7be3b1591856776818f4bc23 [file] [log] [blame]
import time
def main(request, response):
headers = [('Content-Type', 'application/javascript'),
('Cache-Control', 'max-age=0')]
imported_content_type = ''
if 'imported' in request.GET:
imported_content_type = request.GET['imported']
imported_content = 'default'
if imported_content_type == 'time':
imported_content = '%f' % time.time()
body = '''
// %s
''' % (imported_content)
return headers, body