android13/external/python/httplib2/test/303/303.cgi

14 lines
334 B
Plaintext
Raw Normal View History

2024-06-22 08:45:49 -04:00
#!/usr/bin/env python
import os
# Always returns an empty response body
# and adds in the X-Method: header with the
# method that was sent to the CGI
print "Status: 303 See Other"
print "Location: http://bitworking.org/projects/httplib2/test/303/final-destination.txt"
print "X-Method: %s" % os.environ['REQUEST_METHOD']
print ""