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: 303 See Other" 9 print "Location: http://bitworking.org/projects/httplib2/test/303/final-destination.txt" 10 print "X-Method: %s" % os.environ['REQUEST_METHOD'] 11 print "" 12 13 14