#!/usr/bin/env python3 import sys sys.stdout.write( 'Location: ../resources/redirect.py?url=../misc/resources/webtiming-two-redirects.html\r\n' 'status: 302\r\n' 'Content-Type: text/html\r\n\r\n' )