lin
2025-08-14 dae8bad597b6607a449b32bf76c523423f7720ed
1
2
3
4
5
6
7
8
9
10
11
#!/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/methods/method_reflector.cgi"
print "X-Method: %s" % os.environ['REQUEST_METHOD']
print ""