Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
httplib2
/
1af76a6fedf1eee462ac9b2bedfe44662f70f74e
/
.
/
test
/
methods
/
method_reflector.cgi
blob: ae55af8bf5d15ab11be3e18f7d5dd7c5bb4a6bef [
file
] [
log
] [
blame
]
#!/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
""