#!/usr/bin/env python3 import sys sys.stdout.write( 'status: 302\r\n' 'Location: resources/a success.html\r\n' 'Content-Type: text/html\r\n\r\n' )