Blob Blame History Raw
#!/usr/bin/python

import sys

def application(environ, start_response):
    status = '302 Moved Temporarily'

    response_headers = [('Content-type', 'text/plain'),
                        ('Content-Length', '0'),
                        ('Location', 'http://localhost/target/index.html')]
    start_response(status, response_headers)
    return ['']