#!/usr/bin/env python3 import sys sys.stdout.write( 'Content-Disposition: attachment; filename=test.html\r\n' 'Content-Type: text/html\r\n\r\n' '\n' '\n' )