lin
2025-07-30 fcd736bf35fd93b563e9bbf594f2aa7b62028cc9
1
2
3
4
5
6
7
8
9
10
#!/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: 200 Ok"
print "X-Method: %s" % os.environ['REQUEST_METHOD']
print ""