1#!/usr/bin/env python 2import os 3 4# Always returns an empty response body 5# and adds in the X-Method: header with the 6# method that was sent to the CGI 7 8print "Status: 200 Ok" 9print "Content-type: text/plain" 10print 'ETag: "alsjflaksjfasj"' 11print "" 12print "\n".join(["%s=%s" % (key, value) for key, value in os.environ.iteritems()]) 13 14 15