Home | History | Annotate | Download | only in reflector
      1 #!/usr/bin/env python
      2 import 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 
      8 print "Status: 200 Ok"
      9 print "Content-type: text/plain"
     10 print 'ETag: "alsjflaksjfasj"'
     11 print ""
     12 print "\n".join(["%s=%s" % (key, value) for key, value in  os.environ.iteritems()])
     13 
     14 
     15