#!/usr/bin/env python3 import sys sys.stdout.write( 'Location: http://localhost:8080/misc/resources/webtiming-cross-origin-redirect.html\r\n' 'status: 302\r\n' 'Content-Type: text/html\r\n\r\n' )